@padcom/vite-config-vue
v0.10.0
Published
Vite configuration for Vue.js application
Downloads
190
Readme
Vite configuration for Vue.js applications
This package exposes a function that defines a a Vite configuration for Vue.js applications. The default configuration consists of the following elements:
Base configuration
- the
@/
alias to./src
- vite-eslint-plugin plugin
- @vitejs/plugin-vue
- @vue/test-utils
- autoprefixer
- vite-svg-loader (by default in component import mode)
- vite-dts-plugin plugin
Test configuration
./vitest.setup.js
initialization file- test coverage using @vitest/coverage-v8
- @vue/test-utils
- jsdom
This configuration sets up testing using vitest