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