Commit Graph

783 Commits

Author SHA1 Message Date
Sébastien Chopin
3bf1cb90c4 Merge pull request #1480 from whtsky/defaults-babel-presets
Don't set `babelOptions.presets` if babelrc = true
2017-08-25 12:15:52 +02:00
Sébastien Chopin
3985c1d684 Merge pull request #1478 from LookinGit/fix-1248
~ fix asyncData parent + children pages in production build (#1248)
2017-08-25 12:14:11 +02:00
Wu Haotian
e59b3dd4f7
Don't set babelOptions.presets if babelrc = true 2017-08-25 17:36:53 +08:00
LookinGit
16608fad25 ~ fix asyncData parent + children pages in production build (#1248) 2017-08-25 08:56:38 +03:00
Pooya Parsa
cafc94d9f9 fix problem with route chunk names (#1461) 2017-08-25 01:36:56 +04:30
Sébastien Chopin
e32a3755dd feature: Add inject(key, value) as 2nd argument of plugins 2017-08-24 20:38:28 +02:00
Sebastien Chopin
12a31b0914 fix: SSR call router.push after plugin execution 2017-08-24 18:49:26 +02:00
Sébastien Chopin
7738d0c0af Merge pull request #1447 from Zip753/improve-nuxt-config-interface
Improve nuxt.config.js and Nuxt modules API
2017-08-24 15:49:10 +02:00
Sebastien Chopin
fb25c982a7 feature: Add no-ssr component 2017-08-24 12:38:46 +02:00
Sebastien Chopin
04d05de906 process: Add process.mode 2017-08-23 18:21:27 +02:00
Sebastien Chopin
4ac14054f2 context: hotReload -> isHMR 2017-08-23 13:41:37 +02:00
Ivan Nikulin
37abaa0e80
Refactor extendRoutes for Tapable plugins 2017-08-23 08:49:24 +02:00
Ivan Nikulin
9c39c128f2
Add tests for chainFn 2017-08-23 00:50:46 +02:00
Ivan Nikulin
2336b3e6ea
Update extendBuild modules API 2017-08-23 00:50:46 +02:00
Ivan Nikulin
416b84ccae
Update extendRoutes modules API 2017-08-23 00:50:46 +02:00
Ivan Nikulin
8cf5a21752
Change build.extend hook to return new webpack config 2017-08-23 00:50:45 +02:00
Ivan Nikulin
635ee580e9
Change router.extendRoutes hook to return new router config 2017-08-23 00:50:45 +02:00
Pooya Parsa
459363beea fix(renderer): resolve handler key as option for serverMiddleware
#1274
2017-08-23 02:44:44 +04:30
Sebastien Chopin
af909ae8e3 Merge branch 'dev' of github.com:nuxt/nuxt.js into dev 2017-08-22 19:38:02 +02:00
Sebastien Chopin
d7a6761054 css-loader: Don't use root to allow absolute path 2017-08-22 19:37:55 +02:00
32c6d39358 fixes #1438 (#1439) 2017-08-22 18:27:11 +04:30
Sebastien Chopin
88f98fb61d Don't call extend for server if spa mode 2017-08-22 13:56:22 +02:00
Sebastien Chopin
8dca358216 Move store hydration after plugins execution 2017-08-22 11:08:59 +02:00
Pooya Parsa
b931dd40ce fix sass loader with indentedSyntax
fixes #1436

query options cannot be used when options provided
2017-08-22 00:38:39 +04:30
Pooya Parsa
0795d40bb7 fix problems with dll 2017-08-22 00:10:06 +04:30
Pooya Parsa
eb872518b2 disable MinifyPlugin 2017-08-22 00:00:35 +04:30
Pooya Parsa
7973d67f5b fix problems with common chunk 2017-08-21 23:43:08 +04:30
Sebastien Chopin
384aebb67d lint code 2017-08-21 17:31:12 +02:00
Sebastien Chopin
3eb8b2f316 Merge branch 'dev' of github.com:nuxt/nuxt.js into dev 2017-08-21 13:54:56 +02:00
Sebastien Chopin
fed644ddf6 Fix #1423 2017-08-21 13:54:41 +02:00
Pooya Parsa
d7fbe47c31 feat: experimental dll support
`.cache/` should be git ignored in projects.
disabled by default. Can be enabled using `options.build.dll: true`
2017-08-21 15:46:35 +04:30
Sebastien Chopin
8f929c3929 Remove old way to handle meta tags 2017-08-21 11:39:01 +02:00
Sebastien Chopin
39f431efdf Use vue-meta for meta tags 2017-08-21 11:38:21 +02:00
Pooya Parsa
5eb51f07b9 no need to check 2017-08-20 23:24:56 +04:30
Pooya Parsa
f42783af32 better common chunks 2017-08-20 22:52:01 +04:30
Pooya Parsa
9bfd00d3f4 update error page 2017-08-20 17:53:12 +04:30
Pooya Parsa
690cfe2114 improve spa errors 2017-08-20 17:43:42 +04:30
Pooya Parsa
0927c130ed press keys to open developer tools
Stack traces without developer tools are useless. Instead show a beatiful message
2017-08-20 16:20:55 +04:30
Pooya Parsa
8d489349c0 remove resolve-url-loader
Depending on sourcemaps makes many inconsistencies for builds! Same behaviour is supported by vue-loader
2017-08-20 13:33:23 +04:30
Pooya Parsa
086a642332 fix cssSourceMap 2017-08-20 13:08:38 +04:30
Pooya Parsa
75a845e5c7 wandering-cubes 2017-08-20 00:03:21 +04:30
Pooya Parsa
39e0a633db chasing-dots 2017-08-20 00:03:21 +04:30
Sébastien Chopin
e7b7f15166 Remove ssr only check 2017-08-19 15:31:26 +02:00
Pooya Parsa
a289a55a72 simplify modes 2017-08-19 17:52:53 +04:30
Pooya Parsa
278180b4fe Disable cssSourceMap for production by default
Prevents build environment path leaks and reduce js files size (as vue-loader inlines some parts)
2017-08-19 16:40:55 +04:30
Pooya Parsa
673dfcd3c9 imrpove js minify 2017-08-19 15:40:01 +04:30
Pooya Parsa
a585d8cb35 imrpove CLI experience for OPEN url 2017-08-19 14:59:41 +04:30
Pooya Parsa
b2a92e185e SPA Resource Hints using meta
- W3 valid resource hints
- Supporting options.render.resourceHints
2017-08-19 14:20:45 +04:30
Pooya Parsa
80db40fc1f hid -> data-hid 2017-08-19 13:22:39 +04:30
Pooya Parsa
a078a631eb fix meta typos 2017-08-19 13:16:58 +04:30