@tui-nuxt/editor
v1.0.0-beta.3
Published
Easy integration on TOAST UI Editor for Nuxt.JS
Downloads
115
Maintainers
Readme
🍞📝 TOAST UI Editor for Nuxt.JS
Easy integration on TOAST UI Editor for Nuxt.JS
🏗 Setup
- Add
@tui-nuxt/editor
dependency to your project$ npm install --save @tui-nuxt/editor # or $ yarn add @tui-nuxt/editor
- Add
@tui-nuxt/editor
to themodules
section 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 install
ornpm install
) - Start development server (using
yarn dev
ornpm run dev
)
👥 Contributing
Any contribute is welcome!
🤝 License
This project is MIT License