no message
Former-commit-id: dfb70c261eb670133d905f25fc525f59d01a05f2 Former-commit-id: 38532f4c1cd8b63afadd21d80e4f7a56200ecbdf Former-commit-id: 589c68cc6aad2aadb828be5bda04c9eea2ad0bed
This commit is contained in:
@@ -7,10 +7,13 @@ const sourceMapEnabled = isProduction
|
||||
: config.dev.cssSourceMap
|
||||
|
||||
module.exports = {
|
||||
loaders: utils.cssLoaders({
|
||||
sourceMap: sourceMapEnabled,
|
||||
extract: isProduction
|
||||
}),
|
||||
loaders: {
|
||||
...utils.cssLoaders({
|
||||
sourceMap: sourceMapEnabled,
|
||||
extract: isProduction
|
||||
}),
|
||||
i18n: '@kazupon/vue-i18n-loader'
|
||||
},
|
||||
cssSourceMap: sourceMapEnabled,
|
||||
cacheBusting: config.dev.cacheBusting,
|
||||
transformToRequire: {
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
"xlsx": "^0.12.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@kazupon/vue-i18n-loader": "^0.2.1",
|
||||
"autoprefixer": "^7.1.2",
|
||||
"babel-core": "^6.22.1",
|
||||
"babel-eslint": "^7.1.1",
|
||||
|
||||
@@ -1,3 +1,17 @@
|
||||
<i18n>
|
||||
{
|
||||
"cn": {
|
||||
"hello": "你好!"
|
||||
},
|
||||
"en": {
|
||||
"hello": "hello world!"
|
||||
},
|
||||
"ja": {
|
||||
"hello": "こんにちは、世界!"
|
||||
}
|
||||
}
|
||||
</i18n>
|
||||
|
||||
<template>
|
||||
<el-button>Hello</el-button>
|
||||
<el-button>{{$t('hello')}}</el-button>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user