feat: vite server配置
This commit is contained in:
parent
deb7b58ba7
commit
728d0a82de
@ -47,9 +47,11 @@ const onBreadcrumb = (route: RouteLocationMatched) => {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.main_button {
|
.main_button {
|
||||||
color: $color-text-1;
|
color: $color-text-1;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.route_button {
|
.route_button {
|
||||||
color: $color-text-2;
|
color: $color-text-2;
|
||||||
|
cursor: pointer;
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $color-primary;
|
color: $color-primary;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,6 +19,11 @@ export default defineConfig(({ mode }) => {
|
|||||||
return {
|
return {
|
||||||
// 开发或生产环境服务的公共基础路径
|
// 开发或生产环境服务的公共基础路径
|
||||||
base: env.VITE_PUBLIC_PATH,
|
base: env.VITE_PUBLIC_PATH,
|
||||||
|
server: {
|
||||||
|
host: "0.0.0.0",
|
||||||
|
open: true,
|
||||||
|
proxy: {}
|
||||||
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
vitePluginForArco({
|
vitePluginForArco({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user