@refinex-md/vue2
v0.1.1
Published
Vue 2 adapter and components for Refinex MD Editor.
Downloads
609
Readme
@refinex-md/vue2
Vue 2.7 适配器,提供 Vue.use() 插件安装、Options API 组件、Vue 2 v-model 和可选 composable。
安装
pnpm add @refinex-md/vue2 @refinex-md/theme如需预发布版本,显式使用 @next:
pnpm add @refinex-md/vue2@next @refinex-md/theme@next最短示例
import Vue from 'vue'
import { RefinexMdVue2 } from '@refinex-md/vue2'
import '@refinex-md/theme/styles.css'
Vue.use(RefinexMdVue2)<template>
<RefinexMdEditor v-model="doc" />
</template>本仓库示例
pnpm --filter @refinex-md/examples-vue2 dev