@gdyfe/ssml
Version:
48 lines (30 loc) • 532 B
Markdown
SSML富文本编辑器
> Node 18
1.安装插件
```sh
yarn add @gdyfe/ssml
```
2.使用
```ts
// main.ts
import { createApp } from 'vue'
import App from './App.vue'
import '@gdyfe/ssml/dist/style.css'
import SSMLEditor from '@gdyfe/ssml'
const app = createApp(App)
app.use(SSMLEditor)
app.mount('#app')
```
```vue
// App.vue
<script setup lang="ts">
import { EditorView } from '@gdyfe/ssml'
</script>
<template>
<EditorView></EditorView>
</template>
<style scoped></style>
```