Running the demo #93
-
Hello again,
The documentation is a bit scarce on that imo, so I wanted to run the demo project but whenever I clone the repo and run
So my question is: How are you supposed to run the demo? Does someone have a writeup? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 8 replies
-
Hi @SuddenDev, I'm not certain about the errors you shared, we use Have you read the docs part about customizing components? https://payloadcms.com/docs/admin/components#fields Certainly there is more we can provide when it comes to custom fields, what is it you're looking to do? I'm happy to help! |
Beta Was this translation helpful? Give feedback.
-
So I just tried a couple of things with the config. Replacing the Nav was easy, but I got an error when trying to replace views.dashboard. The error code says "not allowed". My code:
My console:
Any Ideas? Did I miss something? |
Beta Was this translation helpful? Give feedback.
-
Hi there, I'm also interested in playing with the demo / sandbox but haven't had any luck starting it up - any ideas?
|
Beta Was this translation helpful? Give feedback.
-
☝🏼 seems like there's dependency on a build for
|
Beta Was this translation helpful? Give feedback.
-
NM I'm up and running, needed to just |
Beta Was this translation helpful? Give feedback.
Hi @SuddenDev,
We use the
demo
in the repo as our develepment playground when building new features or troubleshooting. It could be useful for reference, but it might not provide a ton of value for building your own projects with Payload as your dependency. You're welcome to play with it though! You can usenpm run dev
for live reload ordemo:build
will create a dist of the demo in/dist/bin/
.I'm not certain about the errors you shared, we use
yarn build
when its time to release each new version of Payload. I am not sure how useful that would be for you.Have you read the docs part about customizing components? https://payloadcms.com/docs/admin/components#fields
Certainly there is more w…