mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-04-30 22:29:01 +08:00
build: remove vite-plugin-simple-html
This commit is contained in:
parent
f1661731da
commit
6cdf905cd4
@ -5,6 +5,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link rel="icon" href="/favicon.png" />
|
<link rel="icon" href="/favicon.png" />
|
||||||
<link rel="stylesheet" href="/resource/loading.css" />
|
<link rel="stylesheet" href="/resource/loading.css" />
|
||||||
|
<title>%VITE_TITLE%</title>
|
||||||
<style>
|
<style>
|
||||||
.loading-container {
|
.loading-container {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@ -76,7 +77,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<title><%= title %></title>
|
|
||||||
</head>
|
</head>
|
||||||
<body class="dark:text-#e9e9e9 auto-bg">
|
<body class="dark:text-#e9e9e9 auto-bg">
|
||||||
<div id="app">
|
<div id="app">
|
||||||
|
@ -41,7 +41,6 @@
|
|||||||
"unplugin-vue-components": "^0.26.0",
|
"unplugin-vue-components": "^0.26.0",
|
||||||
"vite": "^5.2.11",
|
"vite": "^5.2.11",
|
||||||
"vite-plugin-router-warn": "^1.0.0",
|
"vite-plugin-router-warn": "^1.0.0",
|
||||||
"vite-plugin-simple-html": "^0.1.2",
|
|
||||||
"vite-plugin-vue-devtools": "^7.2.0"
|
"vite-plugin-vue-devtools": "^7.2.0"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
|
5876
pnpm-lock.yaml
generated
5876
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -14,7 +14,6 @@ import Unocss from 'unocss/vite'
|
|||||||
import AutoImport from 'unplugin-auto-import/vite'
|
import AutoImport from 'unplugin-auto-import/vite'
|
||||||
import Components from 'unplugin-vue-components/vite'
|
import Components from 'unplugin-vue-components/vite'
|
||||||
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers'
|
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers'
|
||||||
import simpleHtmlPlugin from 'vite-plugin-simple-html'
|
|
||||||
import removeNoMatch from 'vite-plugin-router-warn'
|
import removeNoMatch from 'vite-plugin-router-warn'
|
||||||
import { pluginPagePathes, pluginIcons } from './build/plugin-isme'
|
import { pluginPagePathes, pluginIcons } from './build/plugin-isme'
|
||||||
|
|
||||||
@ -37,14 +36,6 @@ export default defineConfig(({ command, mode }) => {
|
|||||||
resolvers: [NaiveUiResolver()],
|
resolvers: [NaiveUiResolver()],
|
||||||
dts: false,
|
dts: false,
|
||||||
}),
|
}),
|
||||||
simpleHtmlPlugin({
|
|
||||||
minify: isBuild,
|
|
||||||
inject: {
|
|
||||||
data: {
|
|
||||||
title: VITE_TITLE,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
// 自定义插件,用于生成页面文件的path,并添加到虚拟模块
|
// 自定义插件,用于生成页面文件的path,并添加到虚拟模块
|
||||||
pluginPagePathes(),
|
pluginPagePathes(),
|
||||||
// 自定义插件,用于生成自定义icon,并添加到虚拟模块
|
// 自定义插件,用于生成自定义icon,并添加到虚拟模块
|
||||||
|
Loading…
x
Reference in New Issue
Block a user