From e9547943c6212aafd967e85d8cbe39fcba45f09f Mon Sep 17 00:00:00 2001 From: xaboy <> Date: Sun, 2 Jun 2024 23:04:51 +0800 Subject: [PATCH] update --- README.md | 2 +- examples/App.vue | 4 ++-- package.json | 2 +- vite.dev.config.js | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fdc00bd..a5a2ded 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@

-**[帮助文档](https://view.form-create.com/) | [在线演示](https://form-create.com/designer?fr=github) | [form-create 文档](https://form-create.com/v2/guide/) | [🌈Vue3版本](https://github.com/xaboy/form-create-designer/tree/next)** +**[帮助文档](https://view.form-create.com/) | [在线演示](https://form-create.com/designer?fr=github) | [FormCreate 文档](https://form-create.com/v2/guide/) | [🌈Vue3版本](https://github.com/xaboy/form-create-designer/tree/next)** **FcDesigner 是基于 [@form-create/element-ui](https://github.com/xaboy/form-create) 实现的表单设计器组件。可以通过拖拽的方式快速创建表单,提高开发者对表单的开发效率,节省开发者的时间。** diff --git a/examples/App.vue b/examples/App.vue index 91e0139..56d6013 100644 --- a/examples/App.vue +++ b/examples/App.vue @@ -15,8 +15,8 @@ diff --git a/package.json b/package.json index 85e19f6..478df18 100755 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "scripts": { "dev": "vite --config vite.dev.config.js", "build": "vite build", - "preview": "vite preview" + "preview": "vite build --config vite.dev.config.js" }, "repository": { "type": "git", diff --git a/vite.dev.config.js b/vite.dev.config.js index 849b1d9..510e7e3 100755 --- a/vite.dev.config.js +++ b/vite.dev.config.js @@ -8,4 +8,5 @@ const rootPath = path.join(process.cwd(), "examples"); export default defineConfig({ root: rootPath, plugins: [vue()], + base: '/designer/', });