payload icon indicating copy to clipboard operation
payload copied to clipboard

Entire examples/tailwind-shadcn-ui is non-functional.

Open Trexorr opened this issue 1 year ago • 4 comments

Describe the Bug

Been trying to address the issues and even pulling in copilot / Gemini CLI as this is my first time seeing payloads repo overall and no luck.. Peer dependencies outdated. Which then rolls into ServerFunctionProvides not being met. BuildConfig issues and more. Not worth the trouble when all I wanted to do was explore the setup on behalf of a client project..

Link to the code that reproduces this issue

examples/tailwind-shadcn-ui

Reproduction Steps

Install a fresh version and then try to run dev / access the admin area.

Which area(s) are affected? (Select all that apply)

area: core, area: docs, area: ui

Environment Info

Unchanged repo. Fresh install and all issues unfolded from the start.

Trexorr avatar Oct 17 '25 20:10 Trexorr

Please add a reproduction in order for us to be able to investigate.

Depending on the quality of reproduction steps, this issue may be closed if no reproduction is provided.

Why was this issue marked with the invalid-reproduction label?

To be able to investigate, we need access to a reproduction to identify what triggered the issue. We prefer a link to a public GitHub repository created with create-payload-app@latest -t blank or a forked/branched version of this repository with tests added (more info in the reproduction-guide).

To make sure the issue is resolved as quickly as possible, please make sure that the reproduction is as minimal as possible. This means that you should remove unnecessary code, files, and dependencies that do not contribute to the issue. Ensure your reproduction does not depend on secrets, 3rd party registries, private dependencies, or any other data that cannot be made public. Avoid a reproduction including a whole monorepo (unless relevant to the issue). The easier it is to reproduce the issue, the quicker we can help.

Please test your reproduction against the latest version of Payload to make sure your issue has not already been fixed.

I added a link, why was it still marked?

Ensure the link is pointing to a codebase that is accessible (e.g. not a private repository). "example.com", "n/a", "will add later", etc. are not acceptable links -- we need to see a public codebase. See the above section for accepted links.

Useful Resources

github-actions[bot] avatar Oct 17 '25 20:10 github-actions[bot]

Will take a look and update, note that this example specifically is for using shadcn in the admin panel, if you were to use the website template instead via npx create-payload-app -t website then it has working examples with shadcn and tailwind in the frontend

paulpopus avatar Oct 17 '25 22:10 paulpopus

Funny you say that.

I did exactly that after I created this post and the same thing happened but for different reasons.

I've now spent the last 4 hours resolving the issues and have got it into a functional, non-error reporting state but can't merge, rebase or create a pull request..

Go figure.

I know this is non conventional but below is a ZIP of the Website Template w/ fixed codebase.

I tried to be helpful for once and have regretted it.

Do with the ZIP as you will. Updated existing dependancies, added missing dependencies and packages.

Originally installed the codebase via npx create-payload-app and selecting the website prompt. No feature additions or changes outside of getting successful install, dev and build messages.

Hope it helps. Good luck.

Wesite_Template_Fix.zip

Trexorr avatar Oct 18 '25 04:10 Trexorr

Don't know why the tone got so reproachful here by @Trexorr. The website template seems to work fine. I recently tested it, worked without having to resolve any issues. I'd suggest to close this issue.

otozyon avatar Feb 13 '26 20:02 otozyon