Commit Graph

939 Commits

Author SHA1 Message Date
Pooya Parsa
9db29942e6 Add basic module integration 2017-05-11 14:34:15 +04:30
Pooya Parsa
252e5cce0a Explicit srcDir and rootDir
This makes dir and srcDir consistent and explicitly defined in both places.
2017-05-11 14:18:09 +04:30
Pooya Parsa
ffefa6d724 defaults deep options
This will help modules easily append to options without need to checking and creating arrays.
2017-05-11 14:12:20 +04:30
Pooya Parsa
5662aa22f7 add modules key to nuxt config 2017-05-11 13:41:27 +04:30
Pooya Parsa
55b331c350 ignore intellij idea project files 2017-05-11 13:40:58 +04:30
Mihal Malostanidis
756929079a Fix copy paste typo in the comments 2017-05-10 18:53:16 +03:00
Andrii Korzh
4beaecdc5c add linkExactActiveClass
Pass linkExactActiveClass to router options
2017-05-09 21:46:11 +03:00
Andrii Korzh
77d35ab594 add linkExactActiveClass to router options
From version 2.5.0+ exact active class supported https://router.vuejs.org/en/api/options.html#linkexactactiveclass
2017-05-09 21:44:53 +03:00
Sébastien Chopin
892543eb1d Merge pull request #687 from jroxendal/css-sourcemaps
added sourcemaps support to scss-loader and css-loader
2017-05-09 16:34:42 +02:00
Xavier Damman
a71ac29166 Added call to donate after npm install 2017-05-09 09:21:36 -04:00
Xavier Damman
4e97bd465d Added backers and sponsors on the README 2017-05-09 09:21:36 -04:00
Sebastien Chopin
64abcc04a8 Fix middleware on client-side 2017-05-09 14:43:47 +02:00
Sebastien Chopin
9099b00963 Merge branch 'master' into fix-middleware 2017-05-09 14:18:25 +02:00
Johan Roxendal
63568ceb24 added sourcemaps support to scss-loader and css-loader 2017-05-09 13:24:55 +02:00
Alexandre Chopin
92bbacbbdf Update README.md 2017-05-09 10:48:26 +02:00
Sébastien Chopin
bce3784921 Merge pull request #682 from jroxendal/fix-scss
scss should be handled by sass-loader
2017-05-08 23:17:47 +02:00
Sébastien Chopin
8865cdc1d8 Merge pull request #683 from jroxendal/fix-generate
Fixed refractoring error in generate
2017-05-08 23:16:55 +02:00
Sébastien Chopin
834aa3bcd6 Merge branch 'fix-middleware' of github.com:Atinux/nuxt.js into fix-middleware
Conflicts:
	lib/app/client.js
	lib/app/server.js
2017-05-08 19:33:55 +02:00
Sébastien Chopin
888811f5f4 Fix middleware on server-side 2017-05-08 19:30:57 +02:00
Johan Roxendal
0fe5b2c17f Fixed refractoring error in generate 2017-05-08 09:22:35 +02:00
johan.roxendal@gu.se
b6c5428da5 scss should be handled by sass-loader 2017-05-07 21:46:57 +02:00
Sébastien Chopin
529b7bcf95 Fix yarn lock 2017-05-07 15:43:29 +02:00
Sebastien Chopin
e148e4b93a Add extractCSS option 2017-05-05 17:53:21 +02:00
Sébastien Chopin
05085cbc99 Merge pull request #668 from pi0/fixes
Fixes
2017-05-05 16:50:31 +02:00
Sébastien Chopin
072216c045 Merge branch 'master' into fixes 2017-05-05 16:50:24 +02:00
Sebastien Chopin
333e3cf13a Add other extensions 2017-05-05 16:48:12 +02:00
Sebastien Chopin
7f1bf3d5f0 Fix typo 2017-05-05 16:48:04 +02:00
Sebastien Chopin
6178527177 Improve logs 2017-05-05 16:47:50 +02:00
Sebastien Chopin
39db08c95b Lint 2017-05-05 16:47:28 +02:00
Pooya Parsa
98ffc2110b [tests] ensure global styles are inlined 2017-05-05 18:55:17 +04:30
Pooya Parsa
6504b0666a ESLint Fixes 2017-05-05 18:45:00 +04:30
Pooya Parsa
e2e849fbd2 [vue-style-loader] Inline global css on SSR
Currently with `<style src>` approach global styles are injected on
runtime only and this may affect page render performance.
2017-05-05 18:40:12 +04:30
Sebastien Chopin
01b02a9010 Add typescript compatibility 2017-05-05 14:07:54 +02:00
Sebastien Chopin
8a620dcc30 Force npm run lint before running tests 2017-05-05 14:07:40 +02:00
Sebastien Chopin
49a9052898 Upgrade dependencies 2017-05-05 12:12:36 +02:00
Sebastien Chopin
fd833216df Format code 2017-05-05 12:11:32 +02:00
Sébastien Chopin
71c9838008 Merge pull request #662 from jroxendal/generate-error-report
[Feature] generate error report
2017-05-05 11:57:04 +02:00
johan.roxendal@gu.se
70f959ccb8 rolled back changes to render, re-jiggled handling of errors in generate. 2017-05-05 11:47:24 +02:00
Johan Roxendal
d469f38d98 Adds generate error report from renderer and minification. Changes the behavior where generate would terminate on error, now it instead gathers the error from crashing routes and compiles an error report. 2017-05-05 10:59:33 +02:00
Sébastien Chopin
ded7de0e72 Merge pull request #633 from pi0/2.3.0
️ Upgrade to Vue 2.3.x
2017-05-05 10:57:05 +02:00
Sébastien Chopin
4b675e3357 Fix middleware on server-side 2017-05-04 09:57:10 +02:00
Pooya Parsa
c3769f64e7 [tests] update error assertion
Vue now gives better error "render function or template not defined in component" instead of "not_defined is not defined"
2017-05-02 15:55:04 +04:30
Pooya Parsa
aeea3cb9eb [tests] fix dynamic routes end of array detection 2017-05-02 15:48:44 +04:30
Pooya Parsa
a04a563f8d create store only when available 2017-05-02 15:36:22 +04:30
Pooya Parsa
affbc9c81f fixClientManifest no needed as of vue 2.3.1 2017-05-02 14:31:15 +04:30
Pooya Parsa
8a25da81fb [test] update fixtures store to return a function 2017-05-02 14:05:09 +04:30
Pooya Parsa
670b1254dd [deps] upgrade
Upgrades vue to 2.3.1
2017-05-02 13:46:51 +04:30
Evan You
74652e3974 make use of runInNewContext: false 2017-05-02 13:33:09 +04:30
Pooya Parsa
6ee5d958a7 cleanups 2017-04-30 17:24:14 +04:30
Pooya Parsa
2e75f22a08 add options.ssr
This allows setting custom vue renderer options. including:
- shouldPreload(file, type)
- runInNewContext
- directives

https://ssr.vuejs.org/en/api.html#renderer-options
2017-04-30 17:10:04 +04:30