Created from template: https://github.com/rodrigowpl/frontend-next-boilerplate
- Install dependencies
yarn (or npm i) - Run
yarn dev (or npm dev)to run next development server (it will be available inhttp://localhost:3000 - Run
yarn generate [ComponentName]to create a new component structure automatically (the result will be generated insrc/components/[ComponentName])
yarn dev (or npm dev): Run next development serveryarn build (or npm run build): Generate next production buildyarn start (or npm start): Run next production serveryarn test (or npm run test): Run testsyarn test:watch (or npm run test): Run tests in watch mode
├── /src/
│ ├── /components/
│ ├── /[ComponentName]/
├── /index.tsx/ # Component file
├── /styles.ts/ # Component styled-components styles
├── /test.tsx/ # Component test file