mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Upgrade vue-loader
This commit is contained in:
parent
8831331e3d
commit
954c25b420
37
TODO.md
37
TODO.md
@ -1,37 +0,0 @@
|
||||
Tasks for `0.9.10`:
|
||||
- [x] `build.publicPath` #25
|
||||
- [x] Use [name].[chunkhash].js for generated js (production) #218
|
||||
- [x] Add expired headers (production)
|
||||
- [x] Activate layout only on afterEach #214
|
||||
- [x] Custom layout in layouts/error.vue #172
|
||||
- [x] Add Doc for build.filenames, performance.gzip and performance.prefetch
|
||||
- [ ] Fork preload-webpack-plugin and use it in package.json
|
||||
- [ ] Test + Coverage performance, cache, filenames
|
||||
- [ ] Manual tests on router.base & publicPath
|
||||
- [ ] asyncData, fetch, transition, validate, scrollToTop can be in mixins and extend (super)
|
||||
|
||||
-> Not possible to have custom layout for a page, it should do the condition inside the layout itself (because of the middleware strategy)
|
||||
|
||||
|
||||
Release:
|
||||
|
||||
## Deprecated
|
||||
- `process.BROWSER_BUILD` is deprecated in favour of `process.browser` (`BROWSER_BUILD` will be removed for the 1.0)
|
||||
- `process.SERVER_BUILD` is deprecated in favour of `process.server` (`SERVER_BUILD` will be removed for the 1.0)
|
||||
|
||||
## Define `plugins` only for client-side
|
||||
|
||||
Some Vue plugins might only work for client-side, you can now use an `Object` instead of a string to use a plugin only for client-side:
|
||||
|
||||
`nuxt.config.js`
|
||||
```js
|
||||
module.exports = {
|
||||
plugins: [
|
||||
'~plugins/client-and-server.js',
|
||||
{
|
||||
src: '~plugins/only-client-side.js',
|
||||
ssr: false // disable for server-side
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
@ -79,7 +79,7 @@
|
||||
"serve-static": "^1.12.1",
|
||||
"url-loader": "^0.5.8",
|
||||
"vue": "^2.2.5",
|
||||
"vue-loader": "^11.3.2",
|
||||
"vue-loader": "^11.3.3",
|
||||
"vue-meta": "^0.5.5",
|
||||
"vue-router": "^2.3.0",
|
||||
"vue-server-renderer": "^2.2.5",
|
||||
|
@ -5743,9 +5743,9 @@ vue-hot-reload-api@^2.0.11:
|
||||
version "2.0.11"
|
||||
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.0.11.tgz#bf26374fb73366ce03f799e65ef5dfd0e28a1568"
|
||||
|
||||
vue-loader@^11.3.2:
|
||||
version "11.3.2"
|
||||
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-11.3.2.tgz#08bb99446222e223d1e01e6228221acf1bcc95c9"
|
||||
vue-loader@^11.3.3:
|
||||
version "11.3.3"
|
||||
resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-11.3.3.tgz#045d27afacf70c58889d46debe4adf6d67ec8cf3"
|
||||
dependencies:
|
||||
consolidate "^0.14.0"
|
||||
hash-sum "^1.0.2"
|
||||
|
Loading…
Reference in New Issue
Block a user