We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
国际化报错
import AtComponents from 'at-ui' import 'at-ui-style' // 引入组件样式 import VueI18n from 'vue-i18n' import zhlocale from 'at-ui/dist/locale/zh-CN'
Vue.use(VueI18n) Vue.use(AtComponents) const i18n = new VueI18n({ locale: 'zh', messages: { 'zh': { ...zhlocale } } }) Vue.config.productionTip = false
/* eslint-disable no-new */ new Vue({ el: '#app', i18n, router, store, template: '', components: {App} })
The text was updated successfully, but these errors were encountered:
可以麻烦用 Code Sandbox 贴一下你的完整代码吗,谢谢~
Sorry, something went wrong.
@koppthe 地址:https://codesandbox.io/s/kkp7kn12p3
fix: use vue-i18n@7.x typo (#90)
b624480
#90
No branches or pull requests
国际化报错
import AtComponents from 'at-ui'
import 'at-ui-style' // 引入组件样式
import VueI18n from 'vue-i18n'
import zhlocale from 'at-ui/dist/locale/zh-CN'
Vue.use(VueI18n)
Vue.use(AtComponents)
const i18n = new VueI18n({
locale: 'zh',
messages: {
'zh': { ...zhlocale }
}
})
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
el: '#app',
i18n,
router,
store,
template: '',
components: {App}
})
The text was updated successfully, but these errors were encountered: