Skip to content

Commit

Permalink
feat: Allow i18n component to load json (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
robyedlin authored and paulgv committed Jan 14, 2019
1 parent 2c6dbca commit 21d4305
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ module.exports = function (userOptions) {
// vue-loader after 15.0.0
config.module.rules.push({
resourceQuery: /blockType=i18n/,
type: 'javascript/auto',
loader: '@kazupon/vue-i18n-loader'
})
}
Expand Down

0 comments on commit 21d4305

Please sign in to comment.