Simple PWA boilerplate with nextjs and preact
1. Clone this repo:
git clone https://github.com/wp-next/wpn-app-boilerplate.git
cd NextSimpleStarter
2. Make it your own:
rm -rf .git && git init && yarn init
ℹ️ This re-initializes the repo and sets up your project.
3. Install the dependencies:
yarn install
or if you're using npm:
npm install
You're done installing! Now let's get started developing.
4. Start a live-reload development server:
yarn run dev
or
npm run dev
5. Generate a production build:
yarn run build
or
npm run build
You can now deploy the contents of the build
directory to production!
now:
Deploying a nextjs app is a lot easier with now. Make sure you're logged in then run:
now
Simple right? 😄
heroku: Just follow Mars's Guide and you're good to go 👏
I'm open to contributions & suggestions in making this a lot better ✋
MIT
NextJS starter - A starter project for Next.js with and email and oAuth authentication.