Go to file
Valentin dce2819468 first commit 2024-05-03 18:22:13 +02:00
composables first commit 2024-05-03 18:22:13 +02:00
pages first commit 2024-05-03 18:22:13 +02:00
server first commit 2024-05-03 18:22:13 +02:00
ssg_hooks first commit 2024-05-03 18:22:13 +02:00
.env.example first commit 2024-05-03 18:22:13 +02:00
.gitignore first commit 2024-05-03 18:22:13 +02:00
README.md first commit 2024-05-03 18:22:13 +02:00
app.vue first commit 2024-05-03 18:22:13 +02:00
error.vue first commit 2024-05-03 18:22:13 +02:00
nuxt.config.ts first commit 2024-05-03 18:22:13 +02:00
package.json first commit 2024-05-03 18:22:13 +02:00
tsconfig.json first commit 2024-05-03 18:22:13 +02:00

README.md

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.