How i can multithread prerender my app (Vue + i18n) with N routes and different inject langs ?
See original GitHub issueNow my config is working but slowly, how can i make it faster ? Mb multithread ?
webpack:
...['az', 'el', 'en', 'fr', 'it', 'kk', 'nl', 'pl', 'ro', 'ru', 'th', 'uk', 'uz'].map((lang) => {
return new PrerenderSPAPlugin({
//...
inject: {
isPrerenderer: true,
config: {
lang
}
},
//...
})
})
vuex:
lang: window['__PRERENDER_INJECTED'].config.lang || localStorage.getItem('lang') || 'en'
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
Vue i18n: Building a multi-language app with locale switcher
Vue i18n is a key process needed to localize your Vue apps and websites. Learn how to set up a Vue app with...
Read more >Step-by-step: How to Create a Vue Multi-Language App with ...
You can enter the vue create [project-name] command to create a new project using the Vue CLI. Note: If you don't have the...
Read more >The Ultimate Vue Localization Guide | Phrase
In this hands-on guide, we'll use Vue I18n to internationalize a little demo app, covering everything you need to get started with Vue ......
Read more >The Ultimate Guide to Vue Localization with Vue I18n - Medium
This end-to-end tutorial will give you a deep insight into Vue localization with the extremely popular Vue I18n library for you to take...
Read more >Implementing i18n in Vue.js Using vue-i18n - DigitalOcean
Here's a short guide on how to implement internationalization (i18n) in your Vue.js apps using the vue-i18n plugin.
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
Hey, @valentinoli Not try that yet, but think its will working. Thanks for help 😃
Great, hope it works you’re welcome 😃