Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
dje c24cd2aacc maj readme 2 lat temu
components first commit 2 lat temu
pages first commit 2 lat temu
public/images first commit 2 lat temu
server/api first commit 2 lat temu
.gitignore first commit 2 lat temu
App.vue first commit 2 lat temu
README.md maj readme 2 lat temu
nuxt.config.ts first commit 2 lat temu
package.json first commit 2 lat temu
tsconfig.json first commit 2 lat temu
yarn.lock first commit 2 lat temu

README.md

Notes de dev

les contenus HTML sont récupérés auprès de l’API (dossier server/api) : Le fichier contents.ts décrit les sections dans un objet js, récupère les contenus dans les fichiers html du même dossier et retourne cet objet pour qu’il soit consommé par la partie cliente.

Un simple ‘yarn generate’ devrait générer le site statique. Ça fonctionne presque, mais ça la version générée exécute quand même les appels sur /api...

Nuxt 3 Minimal Starter

Look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# yarn
yarn install

# npm
npm install

# pnpm
pnpm install --shamefully-hoist

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Check out the deployment documentation for more information.