@gdyfe/ssml
v1.3.3
Published
SSML语法编辑器
Downloads
20
Readme
ssml
SSML富文本编辑器
环境
Node 18
安装与使用
1.安装插件
yarn add @gdyfe/ssml
2.使用
// 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')
// App.vue
<script setup lang="ts">
import { EditorView } from '@gdyfe/ssml'
</script>
<template>
<EditorView></EditorView>
</template>
<style scoped></style>