wip: refactor layout

This commit is contained in:
vben
2020-11-23 23:24:13 +08:00
parent 234c1d1fae
commit ba068ba1df
79 changed files with 1393 additions and 1196 deletions

View File

@@ -30,7 +30,7 @@ function pathResolve(dir: string) {
const viteConfig: UserConfig = {
/**
* Entry. Use this to specify a js entry file in use cases where an
* Entry. Use this to specify a js entry file in setting cases where an
* `index.html` does not exist (e.g. serving vite assets from a different host)
* @default 'index.html'
*/
@@ -51,7 +51,7 @@ const viteConfig: UserConfig = {
*/
open: false,
/**
* Set to `false` to disable minification, or specify the minifier to use.
* Set to `false` to disable minification, or specify the minifier to setting.
* Available options are 'terser' or 'esbuild'.
* @default 'terser'
*/
@@ -112,7 +112,7 @@ const viteConfig: UserConfig = {
},
define: {
__VERSION__: pkg.version,
// use vue-i18-next
// setting vue-i18-next
// Suppress warning
__VUE_I18N_LEGACY_API__: false,
__VUE_I18N_FULL_INSTALL__: false,