Initial
This commit is contained in:
22
vite.config.js
Normal file
22
vite.config.js
Normal file
@@ -0,0 +1,22 @@
|
||||
const { defineConfig } = require('vite');
|
||||
const vue = require('@vitejs/plugin-vue');
|
||||
|
||||
module.exports = defineConfig({
|
||||
plugins: [vue({
|
||||
template: {
|
||||
compilerOptions: {
|
||||
isCustomElement: (tag) => tag.startsWith('fluent-')
|
||||
}
|
||||
}
|
||||
})],
|
||||
server: {
|
||||
port: 5173,
|
||||
proxy: {
|
||||
'/api': 'http://localhost:3000'
|
||||
}
|
||||
},
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
emptyOutDir: true
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user