diff --git a/components.d.ts b/components.d.ts index 53ed121..54f6137 100644 --- a/components.d.ts +++ b/components.d.ts @@ -10,6 +10,7 @@ declare module '@vue/runtime-core' { CCComponent: typeof import('./src/components/CCComponent.vue')['default'] CCNode: typeof import('./src/components/CCNode.vue')['default'] ElButton: typeof import('element-plus/es')['ElButton'] + ElCard: typeof import('element-plus/es')['ElCard'] ElCheckbox: typeof import('element-plus/es')['ElCheckbox'] ElColorPicker: typeof import('element-plus/es')['ElColorPicker'] ElInput: typeof import('element-plus/es')['ElInput'] diff --git a/release/preview-template/index.ejs b/release/preview-template/index.ejs index 2625eaa..79ffe89 100644 --- a/release/preview-template/index.ejs +++ b/release/preview-template/index.ejs @@ -18,30 +18,32 @@ - <%- include('./toolbar', {config: config}) %> -
- <% include ./dist/index.html %> -
-
-
- -
-
-
-
-
-
<%=tip_sceneIsEmpty%>
-
-
-
Error (Please open the console to see detailed errors)
-
+ <%- include(cocosToolBar, {config: config}) %> +
+ <%- include ./dist/index.html %> +
+
+
+
+ +
+
+
+
+
+
<%=tip_sceneIsEmpty%>
+
+
+
Error (Please open the console to see detailed errors)
+
+
+
-
<%- include(cocosTemplate, {}) %> - diff --git a/src/App.vue b/src/App.vue index 78f0707..83d43b8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -12,7 +12,11 @@ let showTree = ref(false); 节点树
--> - + + + + +