Skip to content

Latest commit

 

History

History
75 lines (49 loc) · 2.06 KB

README.md

File metadata and controls

75 lines (49 loc) · 2.06 KB

miroir-vue

Client Vue pour consulter les notices et éditions du projet Miroir des classiques, via le endpoint DTS de l’ENC.

Master dependencies:

Node

package - vue package - vite package - eslint

package - Bulma package - Mirador

Project setup

Clone the GitHub repository:

in a local folder dedicated to the project

git clone https://github.com/chartes/miroir-vue.git

From the app folder (cd path/to/miroir-vue)

Install

yarn

Compiles and hot-reloads for development

For a local development server, reads .env.development variables:

yarn serve

Compiles and minifies for staging

For a staging server (preproduction), reads .env.staging variables:

yarn build:staging

Compiles and minifies for production

For a production server, reads .env.production variables:

yarn build:prod

Run preview server

After a yarn build:prod or yarn build:staging you can run a server to serve the produced dist folder with:

yarn preview

for production or

yarn preview --mode=staging

for staging.

Lints and fixes files

yarn lint