diff --git a/.gitignore b/.gitignore index 94c254c..d2e6e3a 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,7 @@ dist-ssr *.njsproj *.sln *.sw? +package-lock.json +src/utils/*.cjs +src/**/*.js +/stats.html diff --git a/package.json b/package.json index 34f5750..3139ecc 100644 --- a/package.json +++ b/package.json @@ -26,12 +26,13 @@ "@types/node": "^22.9.0", "@vitejs/plugin-vue": "^5.0.5", "less": "^4.2.0", + "rollup-plugin-visualizer": "^5.12.0", "sass": "^1.77.8", "typescript": "^5.5.4", "unplugin-auto-import": "^0.18.2", "unplugin-vue-components": "^0.27.3", "vfonts": "^0.0.3", - "vite": "^5.3.4", + "vite": "5.4.6", "vue-loader": "^17.4.2", "vue-template-compiler": "^2.7.16", "vue-tsc": "^2.0.24" diff --git a/preview/views/MainView.vue b/preview/views/MainView.vue index f6e57d5..157bb7d 100644 --- a/preview/views/MainView.vue +++ b/preview/views/MainView.vue @@ -13,7 +13,7 @@ - + + + {{ component.id }} + + + +
+
- - - + \ No newline at end of file diff --git a/src/components/PropertyEditor.vue b/src/components/PropertyEditor.vue index d585373..614b355 100644 --- a/src/components/PropertyEditor.vue +++ b/src/components/PropertyEditor.vue @@ -3,7 +3,7 @@
+ style="width: 100%;justify-content: center;text-align: center"> 属性 样式 交互 @@ -22,7 +22,11 @@
是否可见 - + +
+
+ 是否禁用 +
@@ -56,20 +60,31 @@