1.3.3 • Published 1 year ago

@gdyfe/ssml v1.3.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

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>