ItaloCostaBR / setup-nextjs

Setup with NextJs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup NextJs

This example uses NextJs, create-next-app-cli and ZEIT Now as the contribution base.

Deploy your own

Deploy the example using ZEIT Now:

Deploy with ZEIT Now

How to use

Architecture

├── 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 manually

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).

About

Setup with NextJs


Languages

Language:CSS 57.8%Language:JavaScript 42.2%