This example uses NextJs, create-next-app-cli and ZEIT Now as the contribution base.
Deploy the example using ZEIT Now:
├── assets
│ ├── fonts
│ └── scss
│ ├── _variables.scss
│ ├── fonts.scss
│ ├── general.scss
│ ├── mixins.scss
│ └── style.scss
├── components
│ ├── Footer
│ │ ├── index.js
│ │ └── style.scss
│ ├── Header
│ │ ├── index.js
│ │ └── style.scss
│ └── Layout
│ └── index.js
├── pages
│ ├── 404.js
│ ├── index.js
│ └── single.js
└── public
└── images
└── favicon.ico
Dependencies | Link |
---|---|
ReactJs | Click here |
Bootstrap | Click here |
Axios | Click here |
Download the example:
git clone https://github.com/ythalocosta/nextjs-boilerplate.git NAME_PROJECT
cd NAME_PROJECT
Install it and run:
npm install
npm run dev
# or
yarn
yarn dev
Run production build with:
npm run build_export
npm run start
# or
yarn build_export
yarn start
Deploy it to the cloud with ZEIT Now (Documentation).