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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?