mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
Merge branch 'dev' of github.com:nuxt/nuxt.js into dev
This commit is contained in:
commit
a0b88b1691
10
README.md
10
README.md
@ -158,10 +158,12 @@ Learn more at [nuxtjs.org](https://nuxtjs.org).
|
|||||||
## Templates
|
## Templates
|
||||||
|
|
||||||
You can start by using one of our starter templates:
|
You can start by using one of our starter templates:
|
||||||
- [starter](https://github.com/nuxt/starter): Basic Nuxt.js project template
|
- [starter](https://github.com/nuxt-community/starter-template): Basic Nuxt.js project template
|
||||||
- [express](https://github.com/nuxt/express): Nuxt.js + Express
|
- [express](https://github.com/nuxt-community/express-template): Nuxt.js + Express
|
||||||
- [koa](https://github.com/nuxt/koa): Nuxt.js + Koa
|
- [koa](https://github.com/nuxt-community/koa-template): Nuxt.js + Koa
|
||||||
- [adonuxt](https://github.com/nuxt/adonuxt): Nuxt.js + AdonisJS
|
- [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
|
## Using nuxt.js programmatically
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# Vue-Apollo with Nuxt.js
|
# Vue-Apollo with Nuxt.js
|
||||||
|
|
||||||
|
Demo: https://nuxt-vue-apollo.now.sh/
|
||||||
|
|
||||||
https://github.com/nuxt-community/apollo-module
|
https://github.com/nuxt-community/apollo-module
|
||||||
|
|
||||||
https://github.com/Akryum/vue-apollo
|
https://github.com/Akryum/vue-apollo
|
||||||
|
@ -329,7 +329,7 @@ export default class Builder extends Tapable {
|
|||||||
this.compiler.plugin('done', async stats => {
|
this.compiler.plugin('done', async stats => {
|
||||||
// Don't reload failed builds
|
// Don't reload failed builds
|
||||||
/* istanbul ignore if */
|
/* istanbul ignore if */
|
||||||
if (stats.hasErrors() || stats.hasWarnings()) {
|
if (stats.hasErrors()) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// Reload renderer if available
|
// Reload renderer if available
|
||||||
|
@ -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
|
// Dev specific config
|
||||||
// --------------------------------------
|
// --------------------------------------
|
||||||
|
@ -107,7 +107,7 @@ export const defaultOptions = {
|
|||||||
vendor: [],
|
vendor: [],
|
||||||
plugins: [],
|
plugins: [],
|
||||||
babel: {},
|
babel: {},
|
||||||
postcss: [],
|
postcss: undefined,
|
||||||
templates: [],
|
templates: [],
|
||||||
watch: [],
|
watch: [],
|
||||||
devMiddleware: {},
|
devMiddleware: {},
|
||||||
|
Loading…
Reference in New Issue
Block a user