123456789101112131415161718 |
- import { defineConfig } from 'vite'
- import vue from '@vitejs/plugin-vue'
- export default defineConfig({
- plugins: [
- vue({
- template: {
- compilerOptions: {
- isCustomElement: (tag) => tag === 'wx-open-launch-weapp',
- },
- },
- }),
- ],
- server: {
- host: '0.0.0.0',
- port: 4000,
- },
- })
|