1
1
# Vue wrapper for TOAST UI Editor
2
2
3
- > This is Vue component wrapping [ TOAST UI Editor] ( https://github.nhnent. com/fe /tui.editor ) .
3
+ > This is Vue component wrapping [ TOAST UI Editor] ( https://github.com/nhnent /tui.editor ) .
4
4
5
5
[ ![ vue2] ( https://img.shields.io/badge/vue-2.x-brightgreen.svg )] ( https://vuejs.org/ )
6
6
[ ![ github version] ( https://img.shields.io/github/release/nhnent/toast-ui.vue-editor.svg )] ( https://github.com/nhnent/toast-ui.vue-editor/releases/latest )
@@ -64,14 +64,6 @@ If you want to more details, see [Tutorials](https://github.com/nhnent/toast-ui.
64
64
var ToustUI = require (' @toast-ui/vue-editor' ); // you can use toastui.Editor
65
65
```
66
66
67
- * Using ` <script>`
68
-
69
- If you just add javascript file to your html, you use CDN or ` vue-editor.js` downloaded . Insert ` <script>` in your html like this:
70
-
71
- ` ` ` html
72
- <script src="path/to/vue-editor.js"></script>
73
- ` ` `
74
-
75
67
* Using only Vue wrapper component
76
68
77
69
` vue-eidtor.js` has all of the tui .editor . If you only need vue wrapper component, you can use ` @toast-ui/vue-editor/src/index.js` like this:
@@ -80,6 +72,14 @@ If you want to more details, see [Tutorials](https://github.com/nhnent/toast-ui.
80
72
import { Editor } from '@toast-ui/vue-editor/src/index'
81
73
` ` `
82
74
75
+ * Using ` <script>`
76
+
77
+ If you just add javascript file to your html, you use CDN or ` vue-editor.js` downloaded . Insert ` <script>` in your html like this:
78
+
79
+ ` ` ` html
80
+ <script src="path/to/vue-editor.js"></script>
81
+ ` ` `
82
+
83
83
### Implement
84
84
85
85
First implement ` <tui-editor>` in the template.
@@ -251,7 +251,7 @@ If it has no error, commit and then push it!
251
251
For more information on PR ' s step, please see links of Contributing section.
252
252
253
253
## 📙 Documents
254
- * [Getting Started](https://github.com/nhnent/toast-ui.vue-editor/blob/production /docs/getting-started.md)
254
+ * [Getting Started](https://github.com/nhnent/toast-ui.vue-editor/blob/master /docs/getting-started.md)
255
255
256
256
## 💬 Contributing
257
257
* [Code of Conduct](https://github.com/nhnent/toast-ui.vue-editor/blob/master/CODE_OF_CONDUCT.md)
0 commit comments