diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..73f69e0 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..750f071 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,38 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..d3d56ea --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/vue-froala-wysiwyg.iml b/.idea/vue-froala-wysiwyg.iml new file mode 100644 index 0000000..c956989 --- /dev/null +++ b/.idea/vue-froala-wysiwyg.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index fa31fe1..1c1c006 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,14 @@ import 'froala-editor/css/froala_editor.pkgd.min.css'; // Import and use Vue Froala lib. import VueFroala from 'vue-froala-wysiwyg' -Vue.use(VueFroala) -Vue.config.productionTip = false -new Vue({ - render: h => h(App), - -}).$mount('#app') +let VueApp = createApp({ + render: () => h(App) +}); + +VueApp.use(VueFroala); + +VueApp.mount('#app'); ``` @@ -60,8 +61,6 @@ new Vue({