npm install
npm run serve
npm run build
npm start
npm run test:unit
npm run lint
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 --rm -p 80:5000 docker.pkg.github.com/calitb/vuejs-sample/demo