mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-23 09:55:28 +03:00
25 lines
457 B
TypeScript
25 lines
457 B
TypeScript
import { resolve } from 'path'
|
|
import { defineConfig } from 'vitest/config'
|
|
import Vue from '@vitejs/plugin-vue'
|
|
import AutoImport from 'unplugin-auto-import/vite'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'~/': `${resolve(__dirname)}/`,
|
|
},
|
|
},
|
|
plugins: [
|
|
Vue(),
|
|
AutoImport({
|
|
dts: false,
|
|
imports: [
|
|
'vue',
|
|
'@vueuse/core',
|
|
],
|
|
dirs: [
|
|
'composables',
|
|
],
|
|
}),
|
|
],
|
|
})
|