mirror of
https://github.com/Macrame-App/Macrame
synced 2025-12-29 07:19:26 +00:00
Initial commit
This commit is contained in:
commit
d2d9aca35c
35 changed files with 4310 additions and 0 deletions
27
fe/vite.config.js
Normal file
27
fe/vite.config.js
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import { fileURLToPath, URL } from 'node:url'
|
||||
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import vueDevTools from 'vite-plugin-vue-devtools'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [vue(), vueDevTools()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
||||
},
|
||||
},
|
||||
// server: {
|
||||
// port: 6969,
|
||||
// hmr: {
|
||||
// host: 'localhost',
|
||||
// },
|
||||
// },
|
||||
base: '/',
|
||||
publicDir: '../public',
|
||||
build: {
|
||||
outDir: '../public',
|
||||
sourcemap: true,
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue