提交 3b025f30 authored 作者: 王鹏飞's avatar 王鹏飞

chore: update dependencies and add new image

- Updated @vitejs/plugin-vue2 to version 2.3.4 - Changed sass to sass-embedded version 1.96.0 - Updated vite to version 7.2.7 - Updated vite-plugin-mkcert to version 1.17.9 - Added new image train_4.jpg to public/images - Modified vite.config.js to silence deprecation warnings for SCSS imports
上级 8599ba50
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -20,12 +20,12 @@
"vue-router": "^3.6.5"
},
"devDependencies": {
"@vitejs/plugin-vue2": "^2.3.3",
"@vitejs/plugin-vue2": "^2.3.4",
"eslint": "^8.57.1",
"eslint-plugin-vue": "^9.32.0",
"qs": "^6.14.0",
"sass": "1.66.1",
"vite": "^5.4.14",
"vite-plugin-mkcert": "^1.17.6"
"sass-embedded": "^1.96.0",
"vite": "^7.2.7",
"vite-plugin-mkcert": "^1.17.9"
}
}
......@@ -17,6 +17,12 @@ export default defineConfig({
},
css: {
// 禁用SASS警告提醒
preprocessorOptions: { scss: { quietDeps: true, charset: false } },
preprocessorOptions: {
scss: {
quietDeps: true,
charset: false,
silenceDeprecations: ['import'],
},
},
},
})
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论