On Windows.
- npm install; via git https://git-scm.com/download/win
- Vue CLI (optional)- https://cli.vuejs.org/guide/prototyping.html
Requires API key from https://developer.api.nhs.uk/register
Create .env and .env.production files
Add:
VUE_APP_NHS_SEARCH_API_V2_KEY=<your-key>
Access via process.env.VUE_APP_NHS_SEARCH_API_V2_KEY
ref: https://cli.vuejs.org/guide/mode-and-env.html#modes
npm install
npm run serve
npm run build
npm run lint