1.0.0-beta.3 • Published 5 years ago

@tui-nuxt/editor v1.0.0-beta.3

Weekly downloads
171
License
MIT
Repository
github
Last release
5 years ago

🍞📝 TOAST UI Editor for Nuxt.JS

npm version badge npm bundle size badge npm download count badge MIT License badge

code style badge code of conduct Conventional Commits semantic-release

Easy integration on TOAST UI Editor for Nuxt.JS

\ 📖 Release Notes

🏗 Setup

  1. Add @tui-nuxt/editor dependency to your project
    $ npm install --save @tui-nuxt/editor
    # or
    $ yarn add @tui-nuxt/editor
  2. Add @tui-nuxt/editor to the modules section of nuxt.config.js
    // nuxt.config.js
    const config = {
      modules: ['@tui-nuxt/editor']
    }
  3. 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>

🔼Top

✨ Development

  1. Clone this repository
  2. Install dependencies (using yarn install or npm install)
  3. Start development server (using yarn dev or npm run dev)

🔼Top

👥 Contributing

Any contribute is welcome!

🔼Top

🤝 License

This project is MIT License

🔼Top