how to use lang packages in .vue
See original GitHub issue <div class="tinyMce">
<Editor
v-model="content"
:init="config"
></Editor>
<div v-html="content"></div>
</div>
</template>
<script>
import Editor from '@tinymce/tinymce-vue'
export default {
name: 'TinyMCE',
components: {
Editor
},
data () {
return {
content: '',
config: {
language: 'zh_CN',
language_url: '../assets/langs/zh_CN.js'
}
}
}
}
</script>```
console error
`Uncaught SyntaxError: Unexpected token <`
version:
"@tinymce/tinymce-vue": "^2.0.0"
lang packages from `https://www.tiny.cloud/get-tiny/language-packages/`
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to add Internationalization to a Vue Application
Adding International Translations ... Open up the i18n.js file. We are going to create our first translation. We will start with the phrase...
Read more >Step-by-step: How to Create a Vue Multi-Language App with ...
1. Create a new Vue 3 application · 2. Install vue-i18n-next in your Vue 3 project · 3. Test the i18n configuration on...
Read more >Vue i18n: Building a multi-language app with locale switcher
For this tutorial we will be using Vue I18n, a great package from the core Vue devs, to show you how to build...
Read more >vue-lang - npm
Start using vue-lang in your project by running `npm i vue-lang`. There is 1 other project in the npm registry using vue-lang.
Read more >Localization in Vue.js with vue-i18n - LogRocket Blog
Instead of using component state, let's use Vuex to store and mutate the change in language. The vuex-persistedstate plugin will store the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I solved it, please close it
can you share the solution ? please !!