-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
diff --git a/src/types/import-components.d.ts b/src/types/import-components.d.ts
index f381459..e9b5644 100644
--- a/src/types/import-components.d.ts
+++ b/src/types/import-components.d.ts
@@ -10,6 +10,7 @@ declare module 'vue' {
AppProvider: typeof import('./../components/AppProvider/index.vue')['default']
BasicButton: typeof import('./../components/BasicButton/index.vue')['default']
CourseDetailGant: typeof import('./../components/CourseDetailGant/index.vue')['default']
+ Demo: typeof import('./../components/WeekGantView/demo.vue')['default']
Gant: typeof import('./../components/Gant/index.vue')['default']
GantDate: typeof import('./../components/WeekGantView/GantDate.vue')['default']
GantView: typeof import('./../components/WeekGantView/GantView.vue')['default']
diff --git a/vite.config.ts b/vite.config.ts
index 61c88d3..604499c 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -34,7 +34,9 @@ export default defineConfig(async ({ mode }) => {
css: {
preprocessorOptions: {
scss: {
- additionalData: '@import "./src/uni.scss";',
+ // additionalData: '@import "./src/uni.scss";',
+ quietDeps: true,
+ api: 'modern-compiler',
},
},
@@ -44,7 +46,6 @@ export default defineConfig(async ({ mode }) => {
server: {
// host: true,
open: true,
- https: true,
port: Number.parseInt(VITE_PORT!, 10),
proxy: resolveProxy([[VITE_PROXY_PREFIX! as string, VITE_BASE_URL! as string], [VITE_UPLOAD_PROXY_PREFIX! as string, VITE_UPLOAD_URL! as string]]),
},