630 B
630 B
Nuxt Static Site Generation Boilerplate
Generate static site with content from Directus CMS.
Use the Directus MariaDB boilerplate to launch the CMS locally.
The files are retrieved and cached from Directus on build time.
Develop
Install the dependencies :
npm install
Create the .env file from .env.example
Work with
npm run dev
Build the site in .output/public directory
npm run generate --prerender
Preview the freshly built site with
npx serve .output/public
Deploy
Deploy on a Debian VPS with the Deploy CDCN script.