vuejs-i18n-demo | A Vue.js I18n demo app for a PhraseApp blog article | Learning library
kandi X-RAY | vuejs-i18n-demo Summary
kandi X-RAY | vuejs-i18n-demo Summary
A Vue.js I18n demo app for a PhraseApp blog article
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vuejs-i18n-demo
vuejs-i18n-demo Key Features
vuejs-i18n-demo Examples and Code Snippets
Community Discussions
Trending Discussions on vuejs-i18n-demo
QUESTION
I am using a scafolded AspNetCore 2.1 site with VueJS using TypeScript. I'm trying to integrate the kazupon i18n plugin with the router-view. Without the URL integration, it works just fine.
I am not able to get the proper redirects working like http://localhost/en/product
and http://localhost/fr/product
This is the initial boot.ts
, that uses VueI18n
ANSWER
Answered 2018-Jul-25 at 10:50what you primarily needed is to specify the base
option in the vue-router constructor.
But first, you need to extract the locale from the url:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vuejs-i18n-demo
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page