CMS Website with NextJS, tailwindUI, Prismic, Arweave & Solana
Frontend WebApp
We are going to use tailwindCSS / tailwindUI for speeding up frontend development.
- Create your new NextJS project
- Create custom pages and components
- Now you can use tailwindUI markup from the their markup examples
- Choose what you need and like, build your layout and page skeleton.
- Build your own reusable components from the pasted snippets and build your app.<
- Extend website by a blog based on prismic.io
- Follow https://prismic.io/docs/technologies/nextjs
- Install dependencies
- Create helper/queries files
- Add the prismic builder (for managing slices aka sections)
- Run & get used to the builder
- Install and run storybook
- Follow the notices in slicemashine to install storybook (for mockup data while managing slices)
- Hint: You need to run "yarn run storybook" in your projects root folder, not in the slicemachine folder
- Create model with Slice Builder
- Follow https://prismic.io/docs/technologies/create-and-model-a-component-nextjs
- root: npm run storybook
- root/.slicemachine: npm run slicemachine
- Open slice builder
- Create slice
- Save/update
- Hints
- You will see slices already created in prismic before, popping up in your slicemachine. You can create new slices with the exact naming, upload them, and existing slices will be overwritten. Duplicates will disappear then in prismic and slicemachine.
- Slices created within the slicemachine are "shared" and cannot be edited in prismic anymore.
- slicemachine will create all files required for editing your components at ./slicemachine/assets/slices
- Follow https://prismic.io/docs/technologies/create-and-model-a-component-nextjs
- Follow https://prismic.io/docs/technologies/nextjs