Product | Validator Web Frontend |
---|---|
Description | Vue.js app website for the IATI Validator. |
Website | https://validator.iatistandard.org/ |
Related | js-validator-api, validator-services |
Documentation | https://developer.iatistandard.org/ |
Technical Issues | https://github.com/IATI/validator-web/issues |
Support | https://iatistandard.org/en/guidance/get-support/ |
- From GitHub click "Use this template"
To install:
npm install
To run a development server using (./envs/.env.development
vars):
npm start
To run a development server using (./envs/.env.production
vars):
npm run dev:production
To make a production build using (./envs/.env.development
vars):
npm run build:development
To make a production build using (./envs/.env.production
vars):
npm run build:production
To serve a production build locally for testing:
npm run serve
npm run cy:open
npm run cy:run
You can run an individual test specification with the following:
npx --no-install cypress run --config-file cypress.config.local.js --spec path/to/spec.js
ESLint and Prettier are employed for linting and formatting. Implemented following this guide: https://vueschool.io/articles/vuejs-tutorials/eslint-and-prettier-with-vite-and-vue-js-3/
It's recommended you install the following VSCode Extensions:
npm run lint
npm run format
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.