A good way to quickly start a Vue project with good foundations ! [ Demo ]
- Vue 2.x
- Vuetify v2.x
- Vuex v3.x
- Vue-router v3.x
- Vue-i18n v8.x
git clone https://github.com/morgbn/vuetify-i18n-boilerplate project-name
cd project-name
npm i
npm serve # compiles and hot-reloads for development
Here is an example to add the Spanish language :
Add the Spanish flag in /src/assets/flags/. You can find (MIT-licensed) flags in this repo folder.
Rename it es.png (important).
Next, create the file /src/lang/es.js, and write your translations, for example :
export default {
appname: 'Nombre de la aplicación'
}
That's it.
MIT 🎁