Remove optimization & router-link
This commit is contained in:
parent
65b6984f72
commit
d80f6b9b90
|
|
@ -1,10 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<AppLayout>
|
<AppLayout>
|
||||||
<router-view/>
|
<RouterView />
|
||||||
</AppLayout>
|
</AppLayout>
|
||||||
</div>
|
</div>
|
||||||
<RouterView />
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ import vueI18n from '@intlify/vite-plugin-vue-i18n'
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default ({mode}) => {
|
export default ({mode}) => {
|
||||||
process.env = {...process.env, ...loadEnv(mode, process.cwd())};
|
process.env = {...process.env, ...loadEnv(mode, process.cwd())};
|
||||||
|
|
||||||
return defineConfig({
|
return defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
|
|
@ -19,7 +18,6 @@ export default ({mode}) => {
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
||||||
'vue-i18n': 'vue-i18n/dist/vue-i18n.runtime.esm-bundler.js'
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue