diff --git a/examples/custom-build/nuxt.config.js b/examples/custom-build/nuxt.config.js index 9625400c40..4ec63dc64a 100644 --- a/examples/custom-build/nuxt.config.js +++ b/examples/custom-build/nuxt.config.js @@ -10,7 +10,7 @@ module.exports = { loaders: [ { test: /\.(png|jpg|gif|svg)$/, - loader: 'url', + loader: 'url-loader', options: { limit: 100000, // 100KO name: 'img/[name].[ext]?[hash]' diff --git a/examples/custom-build/pages/index.vue b/examples/custom-build/pages/index.vue index 421cbb3a07..5be0248820 100644 --- a/examples/custom-build/pages/index.vue +++ b/examples/custom-build/pages/index.vue @@ -1,6 +1,6 @@