This template should help get you started developing with Vue 3 and Typescript in Vite.
- Component library: Baloise Design System
- Router: Vue Router
- State Management: Pinia
- Form Validation: VeeValidate
- Internationalization: Vue i18n
- Http client: Axios
- Testing: Vitest
- E2E Testing: Cypress
- Linting: ESlint
- Formatting: Prettier
- Documentation: Storybook
- Install the IDE VSCode.
- Install all recommended extensions.
- Vue 3
- Learing Platform: Vue Mastery
To get stared clone the vue-starter-kit repository to you machine. Then navigate into the root folder of the project and install the npm dependencies.
git clone git@github.com:baloise/vue-starter-kit.git
cd vue-starter-kit
npm install
After setting up the project we can serve our application with:
npm run dev
The development sever runs at http://localhost:3000/
.
Installs all the dependencies, which are listed in the package.json
.
npm install
Serves the application on the development server, which runs at http://localhost:3000/
.
npm run dev
Starts the local storybook server at http://localhost:6006/
.
npm run docs
Run unit tests with vitest.
npm run test
# or run test with a watcher and a nice ui
npm run test:ui
Starts the development server and runs the cypress E2E test against it.
npm run test:e2e
Build the application for production release. The builded application will be in the dist
folder.
npm run build
Lints the whole src folder. Linting is also executed before the build.
npm run lint
With the help of the tool prettier we format all our source files.
npm run format
Apache-2.0 Licensed | Copyright © 2021-present Gery Hirschfeld & Contributors