dmt-space / NextSimpleStarter

:star: Simple PWA boilerplate with Nextjs 9 + React Hooks

Home Page:https://nextss.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

travis-ci codeclimate-gpa-badge codeclimate-issues-badge

Simple NextJS PWA boilerplate.

Contents

Installation

Clone repo:

git clone https://github.com/ooade/NextSimpleStarter.git
cd NextSimpleStarter

Make it your own:

rm -rf .git && git init && yarn init

ℹ️ This re-initializes the repo and sets up your project.

Install the dependencies:

yarn install

or

npm install

Development Workflow

Start a live-reload development server:

yarn dev

or

npm run dev

Generate a production build:

yarn build

or

npm run build

Deploy to Now

now dev

For production, update alias in the now.json ie "alias": "nextss-yourname.now.sh",

now

Deploy to Heroku

Deploy to now

Heroku Just follow Mars's Guide and you're good to go 👏

Deploy to Netlify

  • On netlify, Click on new site from git.
  • Select Cloned Repository.
  • Choose VCS.
  • Add build command npm run export.
  • Add publish directory out.

Contribution

I'm open to contributions & suggestions in making this a lot better ✋

License

MIT

About

:star: Simple PWA boilerplate with Nextjs 9 + React Hooks

https://nextss.now.sh

License:MIT License


Languages

Language:JavaScript 100.0%