Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme for Vue JS (2.9.7) #134

Open
wants to merge 3 commits into
base: v2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ Vue.use(VueFroala)
...
```

Optional - To include plugins here:

```javascript
require('froala-editor/js/third_party/font_awesome.min.js');
require('froala-editor/css/third_party/font_awesome.min.css');
require('froala-editor/js/third_party/spell_checker.min.js');
require('froala-editor/css/third_party/spell_checker.min.css');
```

#### App.vue file:
```javascript
<template>
Expand All @@ -55,8 +64,6 @@ Vue.use(VueFroala)
</template>

<script>
import VueFroala from 'vue-froala-wysiwyg';

export default {
name: 'app',
data () {
Expand All @@ -75,8 +82,6 @@ export default {
</script>
```



#### 2. Make sure you have the right Webpack settings for loading the CSS files, Font Awesome and jQuery.

```javascript
Expand Down