@tui-nuxt/editor
v1.0.0-beta.3
Published
Easy integration on TOAST UI Editor for Nuxt.JS
Downloads
17
Maintainers
Readme
🍞📝 TOAST UI Editor for Nuxt.JS
Easy integration on TOAST UI Editor for Nuxt.JS
🏗 Setup
- Add
@tui-nuxt/editordependency to your project$ npm install --save @tui-nuxt/editor # or $ yarn add @tui-nuxt/editor - Add
@tui-nuxt/editorto themodulessection ofnuxt.config.js// nuxt.config.js const config = { modules: ['@tui-nuxt/editor'] } - Add
<TuiEditor>or<TuiEditorViewer>tag for your source<template> <!-- wysiwyg editor --> <TuiEditor mode="wysiwyg" /> <!-- markdown viewer --> <TuiEditorViewer :value="message" /> </template> <script> export default { data () { return { message: '# Hello World' } } } </script>
✨ Development
- Clone this repository
- Install dependencies (using
yarn installornpm install) - Start development server (using
yarn devornpm run dev)
👥 Contributing
Any contribute is welcome!
🤝 License
This project is MIT License
