diff --git a/demos/shims-vue.d.ts b/demos/env.d.ts similarity index 51% rename from demos/shims-vue.d.ts rename to demos/env.d.ts index d53ab3dbf..d27eb5a31 100644 --- a/demos/shims-vue.d.ts +++ b/demos/env.d.ts @@ -1,6 +1,8 @@ +/// + declare module '*.vue' { import { DefineComponent } from 'vue' - + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types const component: DefineComponent<{}, {}, any> export default component } diff --git a/demos/package.json b/demos/package.json index d953b5677..5e23bc333 100644 --- a/demos/package.json +++ b/demos/package.json @@ -4,8 +4,7 @@ "private": true, "scripts": { "start": "vite", - "build": "vite build", - "_build": "vue-tsc --noEmit && vite build", + "build": "vue-tsc --noEmit && vite build", "serve": "vite preview --port 3000" }, "dependencies": { @@ -23,13 +22,16 @@ "@types/uuid": "^8.3.1", "@vitejs/plugin-react-refresh": "^1.3.6", "autoprefixer": "^10.3.4", + "d3": "^7.0.1", "iframe-resizer": "^4.3.2", "postcss": "^8.3.6", "prosemirror-view": "^1.20.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-router-dom": "^5.3.0", + "remixicon": "^2.5.0", "shiki": "^0.9.11", + "simplify-js": "^1.2.4", "tailwindcss": "^2.2.15", "uuid": "^8.3.2", "vue": "^3.0.5", diff --git a/demos/preview/index.vue b/demos/preview/index.vue index 5d1aa4336..3c35cfd85 100644 --- a/demos/preview/index.vue +++ b/demos/preview/index.vue @@ -1,3 +1,7 @@ + +