From b1546682ef7ce3f9ead26f328417d2589875ef46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Wed, 16 Nov 2016 17:55:15 +0100 Subject: [PATCH] Add aliases and update examples --- examples/custom-build/nuxt.config.js | 2 +- examples/custom-build/pages/index.vue | 2 +- examples/custom-loading/nuxt.config.js | 2 +- examples/custom-routes/nuxt.config.js | 2 +- examples/global-css/nuxt.config.js | 4 ++-- examples/head-elements/pages/about.vue | 2 +- examples/nested-components/pages/index.vue | 4 ++-- examples/plugins-vendor/README.md | 4 +++- examples/plugins-vendor/nuxt.config.js | 6 +++--- lib/app/client.js | 2 +- lib/app/index.js | 2 +- lib/build/index.js | 8 ++++---- lib/build/webpack/base.config.js | 10 +++++++++- package.json | 2 +- 14 files changed, 31 insertions(+), 21 deletions(-) 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 @@