Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 1.03 KB

README.md

File metadata and controls

65 lines (43 loc) · 1.03 KB

Deploy Production Netlify Status

VueJS Sample

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run production build

npm start

Run your unit tests

npm run test:unit

Lints and fixes files

npm run lint

GraphQL

Types generation

Write your queries in ./src/queries, and then run:

npx apollo client:codegen [OPTIONS] --target=typescript --includes='./src/queries/**.ts' --no-addTypename --outputFlat './src/types'

here are the OPTIONS that must be passed:

--endpoint=<url>
# url of GraphQL endpoint

Docker

Run latest production image

docker run --rm -p 80:5000 docker.pkg.github.com/calitb/vuejs-sample/demo