Go to file
Valentin c90a62176e ajout de l'inclusivité 2024-05-29 16:25:04 +02:00
composables first commit 2024-05-03 21:41:42 +02:00
pages ajout de l'inclusivité 2024-05-29 16:25:04 +02:00
server first commit 2024-05-03 21:41:42 +02:00
ssg_hooks first commit 2024-05-03 21:41:42 +02:00
.env.example first commit 2024-05-03 21:41:42 +02:00
.gitignore first commit 2024-05-03 21:41:42 +02:00
README.md first commit 2024-05-03 21:41:42 +02:00
app.vue first commit 2024-05-03 21:41:42 +02:00
error.vue first commit 2024-05-03 21:41:42 +02:00
nuxt.config.ts first commit 2024-05-03 21:41:42 +02:00
package-lock.json first commit 2024-05-03 21:41:42 +02:00
package.json first commit 2024-05-03 21:41:42 +02:00
tsconfig.json first commit 2024-05-03 21:41:42 +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

Create and populate the pages, public, components and assets folders.

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 DCDN Static script.