From 40a18da7db12bdffc9ca2c4aae03643b66106cff Mon Sep 17 00:00:00 2001 From: Alid Castano Date: Mon, 24 Jul 2017 11:47:09 -0400 Subject: [PATCH 1/7] added Nuxtent starter to templates --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 44649e4373..dfbb6de3b8 100644 --- a/README.md +++ b/README.md @@ -162,6 +162,7 @@ You can start by using one of our starter templates: - [express](https://github.com/nuxt/express): Nuxt.js + Express - [koa](https://github.com/nuxt/koa): Nuxt.js + Koa - [adonuxt](https://github.com/nuxt/adonuxt): Nuxt.js + AdonisJS +- [nuxtent](https://github.com/nuxt-community/nuxtent): Nuxt.js + Nuxtent for content heavy sites ## Using nuxt.js programmatically From 7d1cc2217a7c30f4b10028e366bcdec842044fa5 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Tue, 25 Jul 2017 15:10:31 +0800 Subject: [PATCH 2/7] enable autoprefixer when no custom build.post is set --- lib/core/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/options.js b/lib/core/options.js index f64c9b39fb..2d58aabd3a 100755 --- a/lib/core/options.js +++ b/lib/core/options.js @@ -107,7 +107,7 @@ export const defaultOptions = { vendor: [], plugins: [], babel: {}, - postcss: [], + postcss: undefined, templates: [], watch: [], devMiddleware: {}, From d4ff65604e17fe22470afdcd52ce1bbc7b8b3118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Thu, 27 Jul 2017 17:02:54 +0200 Subject: [PATCH 3/7] Update README.md --- examples/vue-apollo/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/vue-apollo/README.md b/examples/vue-apollo/README.md index c7cc8f795f..92ef54ec86 100644 --- a/examples/vue-apollo/README.md +++ b/examples/vue-apollo/README.md @@ -1,5 +1,7 @@ # Vue-Apollo with Nuxt.js +Demo: https://nuxt-vue-apollo.now.sh/ + https://github.com/nuxt-community/apollo-module https://github.com/Akryum/vue-apollo From 93199da1587ba11887360333ee9c1ae7287c1a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Thu, 27 Jul 2017 17:10:20 +0200 Subject: [PATCH 4/7] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index dfbb6de3b8..be1adfcc6c 100644 --- a/README.md +++ b/README.md @@ -158,11 +158,11 @@ Learn more at [nuxtjs.org](https://nuxtjs.org). ## Templates You can start by using one of our starter templates: -- [starter](https://github.com/nuxt/starter): Basic Nuxt.js project template -- [express](https://github.com/nuxt/express): Nuxt.js + Express -- [koa](https://github.com/nuxt/koa): Nuxt.js + Koa -- [adonuxt](https://github.com/nuxt/adonuxt): Nuxt.js + AdonisJS -- [nuxtent](https://github.com/nuxt-community/nuxtent): Nuxt.js + Nuxtent for content heavy sites +- [starter](https://github.com/nuxt-community/starter-template): Basic Nuxt.js project template +- [express](https://github.com/nuxt-community/express-template): Nuxt.js + Express +- [koa](https://github.com/nuxt-community/koa-template): Nuxt.js + Koa +- [adonuxt](https://github.com/nuxt-community/adonuxt-template): Nuxt.js + AdonisJS +- [nuxtent](https://github.com/nuxt-community/nuxtent-template): Nuxt.js + Nuxtent module for content heavy sites ## Using nuxt.js programmatically From dcb4ab514ee57b9a2b464e293c67dc3befa3b1be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Thu, 27 Jul 2017 17:13:05 +0200 Subject: [PATCH 5/7] Add micro template --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index be1adfcc6c..44d7074586 100644 --- a/README.md +++ b/README.md @@ -162,6 +162,7 @@ You can start by using one of our starter templates: - [express](https://github.com/nuxt-community/express-template): Nuxt.js + Express - [koa](https://github.com/nuxt-community/koa-template): Nuxt.js + Koa - [adonuxt](https://github.com/nuxt-community/adonuxt-template): Nuxt.js + AdonisJS +- [micro](https://github.com/nuxt-community/micro-template): Nuxt.js + Micro - [nuxtent](https://github.com/nuxt-community/nuxtent-template): Nuxt.js + Nuxtent module for content heavy sites ## Using nuxt.js programmatically From e29f439ff0ea9457518316f51b5c91591c008659 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 27 Jul 2017 21:37:24 +0430 Subject: [PATCH 6/7] load SSR bundle on warns too partial fix for #1179 --- lib/builder/builder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/builder/builder.js b/lib/builder/builder.js index db6575e5bb..25c347ceeb 100644 --- a/lib/builder/builder.js +++ b/lib/builder/builder.js @@ -329,7 +329,7 @@ export default class Builder extends Tapable { this.compiler.plugin('done', async stats => { // Don't reload failed builds /* istanbul ignore if */ - if (stats.hasErrors() || stats.hasWarnings()) { + if (stats.hasErrors()) { return } // Reload renderer if available From 080453586f47530b92e22181703fdf967fb38804 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 27 Jul 2017 22:16:11 +0430 Subject: [PATCH 7/7] hide warns about plugins without a default export partial fix for #1179 --- lib/builder/webpack/base.config.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/builder/webpack/base.config.js b/lib/builder/webpack/base.config.js index bc3b4b7390..b0db0ddade 100644 --- a/lib/builder/webpack/base.config.js +++ b/lib/builder/webpack/base.config.js @@ -116,6 +116,20 @@ export default function webpackBaseConfig ({ isClient, isServer }) { ) } + // Workaround for hiding Warnings about plugins without a default export (#1179) + config.plugins.push({ + apply (compiler) { + compiler.plugin('done', stats => { + stats.compilation.warnings = stats.compilation.warnings.filter(warn => { + if (warn.name === 'ModuleDependencyWarning' && warn.message.includes(`export 'default'`) && warn.message.includes('plugin')) { + return false + } + return true + }) + }) + } + }) + // -------------------------------------- // Dev specific config // --------------------------------------