ViteJS + Vue 3 + Typescript + Vue-Router + PiniaJS
Eslint + Stylelint
Project setup
yarn install
Compiles and hot-reloads for development
yarn start
Compiles and minifies for production
yarn build
Lints and fixes files
yarn lint
Run unit tests
yarn test
Lints release/release candidate version
yarn rsc %release-version%
Build docker image with version
docker build --no-cache --progress=plain --build-arg BUILD_VERSION=1.0.0-rc.0 -t webkit .
Work with Graphql
Write queries in src/graphql/queries
separate by graph Entities
then generate types with:
yarn generate-graphql-types
and use generated types and constants with @vue/apollo-composable