A modern AI-powered WYSIWYG and Highly Customized RichTextEditor for Vue, based on Tiptap and shadcn-vue
npm install @leeat/echo-editoren、zhHans)
bash
npm install echo-editor
或
pnpm install echo-editor
或
yarn add echo-editor
`
使用方法
$3
`ts
// main.ts
import { createApp } from 'vue'
import App from './App.vue'
import EchoEditor from 'echo-editor'
import 'echo-editor/style.css'
const app = createApp(App)
app.use(EchoEditor)
app.mount('#app')
`
`ts
`
$3
`ts
`
开发
1. 安装 pnpm
2. 克隆仓库
3. 运行 pnpm install
4. 使用 pnpm dev 启动开发服务器
测试构建版本:
`bash
pnpm examples
``