NextSimpleStarter

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

Github星跟蹤圖

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

:information_source: 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 now

Deploy to Heroku

Just follow Mars's Guide and you're good to go :clap:

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.

Deploy to Gitpod

Click here to deploy on Gitpod

Contribution

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

License

MIT

主要指標

概覽
名稱與所有者ooade/NextSimpleStarter
主編程語言JavaScript
編程語言JavaScript (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2017-01-24 15:15:43
推送於2025-05-16 10:38:33
最后一次提交
發布數2
最新版本名稱v1.1.0 (發布於 2018-07-27 15:50:10)
第一版名稱v1.0.0 (發布於 )
用户参与
星數0.9k
關注者數11
派生數202
提交數299
已啟用問題?
問題數56
打開的問題數0
拉請求數129
打開的拉請求數0
關閉的拉請求數31
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?