I mostly now use the NextJS starter.
Any real adventurer prepares their trip. For this trip you need to equip your computer with the following supplies:
We recommend using Storybook during development but you can also locally start the application.
A very nice workflow for building frontends is to use Storybook. You write stories for your components and immediately see them in action. This frees you from having to click through your UI to finally find your component. It also frees you from having to simulate error states; you just write a story for that.
To run storybook run:
npx yarn storybook
To see the project in your browser run:
npx yarn start
To run the tests issue this command
npx yarn test
If you would like to create an HTML and a JavaScript file on your computer, this is how:
You need to equip your computer with Zephyr. If you have trouble with this, please open an issue on this Github Repository and we will help you!
To create a bundle that is essentially an index.html
and an index.js
file run the following command:
npx yarn bundle
To run the bundle open the file ./dist/index.html
in your favourite browser.