0.0.0-beta.0 • Published 1 year ago
@discord-dashboard/soiree-theme v0.0.0-beta.0
Fastify+Next.js Sample
Installation
yarn install
Usage
DEV ENVIRONMENT
- Change line 2 in index.js to:
const dev = false;
- Run in cmd
node index.js
- DEV url: http://localhost:3000/sample
PROD ENVIRONMENT
- Change line 2 in index.js to:
const dev = true;
- Run in cmd:
yarn next build ./next_files
- Run in cmd
node index.js
- PROD url: http://localhost/sample