Next.js with Chakra UI boilerplate. PWA ready with storybook and tests configured.
This is a Next.js boilerplate
This project uses lot of stuff as:
To create a project from this boilerplate run:
yarn create next-app MY_PROJECT_NAME --example https://github.com/Lukazovic/nextjs-with-chakra-ui-boilerplate
Then, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
dev
: runs your application on localhost:3000
build
: creates the production build versionstart
: starts a simple server with the build production codelint
: runs the linter in all components and pagestest
: runs jest to test all components and pagestest:watch
: runs jest in watch modetypecheck
: check typescript typesgenerate
: creates a component scaffoldstorybook
: runs storybook on localhost:6006
build-storybook
: create the build version of storybookTo learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
git checkout -b my-feature
;git commit -m 'feat: My new feature'
;git push origin my-feature
.Then merge your pull request, you can now delete your branch
Lucas Vieira |