Add vue vite example

This commit is contained in:
Jerome Wu
2023-07-28 21:14:51 +08:00
parent 7fae2e8b34
commit f22c3076df
19 changed files with 2247 additions and 307 deletions

View File

@@ -0,0 +1,15 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue(), vueJsx()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
})