feat: 添加 vite-plugin-vue-layouts 插件并更新 vite 版本至 6.0.5
This commit is contained in:
14
src/plugins/index.ts
Normal file
14
src/plugins/index.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export function install() {
|
||||
if ((import.meta.env.MODE === 'development' || 1 === 1) && 0) {
|
||||
// TODO: https://github.com/hu3dao/vite-plugin-debug/
|
||||
// https://eruda.liriliri.io/zh/docs/#快速上手
|
||||
import('eruda').then(({ default: eruda }) => {
|
||||
eruda.init({
|
||||
defaults: {
|
||||
transparency: 0.9,
|
||||
},
|
||||
});
|
||||
/* eruda.show(); */
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user