@dracul/customize-frontend
Version:
vue custom logo, custom theme, custom colors, i18n configuration}
24 lines (16 loc) • 384 B
Markdown
file
```js
import store from './store'
import i18n from './i18n'
//1. Load from localstore
i18n.locale = store.state.customization.language
//2. Load from backend
store.dispatch('loadCustomizations')
.then(r => {
i18n.locale = r.language
})
```
- [English](./readme-en.md)
- [Spanish](./readme-es.md)
On your main.js