diff --git a/README.md b/README.md index 50078813..519db98a 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,6 @@ TMagic 可视化搭建平台。 目前文档仍在逐步完善中,如有疑问欢迎给我们提 issue。 -[教程](https://tencent.github.io/tmagic-editor/docs/tutorial/hello-world.html) - # Playground 体验 https://tencent.github.io/tmagic-editor/playground/index.html diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 5f20a059..2ecd3636 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -5,6 +5,8 @@ export default defineConfig({ title: 'tmagic-editor', description: '页面可视化平台', + base: '/tmagic-editor/docs/', + head: [ ['meta', { name: 'theme-color', content: '#646cff' }], ], @@ -370,8 +372,6 @@ export default defineConfig({ }, vite: { - base: '/tmagic-editor/docs/', - optimizeDeps: { esbuildOptions: { define: {