Initial commit: QZMusic Web version

This commit is contained in:
QZMusic
2026-06-04 13:41:57 +00:00
commit abb1cd01e5
57 changed files with 12185 additions and 0 deletions

31
vite.config.ts Normal file
View File

@@ -0,0 +1,31 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import wasm from 'vite-plugin-wasm'
import svgLoader from 'vite-svg-loader'
import { nodePolyfills } from 'vite-plugin-node-polyfills'
import { resolve } from 'path'
export default defineConfig({
plugins: [
vue(),
vueJsx(),
wasm(),
svgLoader(),
nodePolyfills()
],
resolve: {
alias: {
'@': resolve(__dirname, 'src'),
'@assets': resolve(__dirname, 'src/assets')
}
},
server: {
port: 3000,
open: false
},
build: {
outDir: 'dist',
sourcemap: true
}
})