Commit Graph

1113 Commits

Author SHA1 Message Date
Sébastien Chopin
6acd9b6516
Merge pull request #2736 from dojineko/variable-csp
Multiple policy support for Content-Security-Policy
2018-02-05 09:14:11 +01:00
Sébastien Chopin
ff411fe08c
Merge pull request #2742 from PeterPanZH/dev
fix #2741: add staging environment via NODE_ENV
2018-02-05 09:12:32 +01:00
Sébastien Chopin
0a52cd2031
Merge pull request #2755 from clarkdo/static_prefix
feature: add static.prefix
2018-02-05 08:55:28 +01:00
Clark Du
e60a8e7463 refactor: add true as default value of static.prefix 2018-02-05 09:57:10 +08:00
Clark Du
215832769e refactor: add context as third param of render:route hook 2018-02-04 17:57:51 +03:30
Clark Du
28d28cb8c1 feature: pass request to render:route hook 2018-02-04 17:57:51 +03:30
Clark Du
a81af22d41
feature: add static.prefix 2018-02-04 00:54:42 +08:00
Peter Pan
13b74b8f36 fix #2741: add staging environment via NODE_ENV 2018-02-02 11:16:17 +08:00
dojineko
a403205abe tiny fix 2018-02-02 11:18:23 +09:00
dojineko
4fb644fdb3 add csp.policies 2018-02-01 21:20:28 +09:00
Sébastien Chopin
358e2f32fd minor: Improve scrollBehavior to work with transitions, resolve #1376, thanks to @homerjam 2018-01-31 16:13:28 +01:00
Sébastien Chopin
7d960b03f7
Merge pull request #2698 from jeroenvisser101/spa-fallback
Add SPA fallback template
2018-01-30 10:17:01 +01:00
Jeroen Visser
f0784ad7fc
Add SPA fallback template 2018-01-30 00:30:26 +01:00
Clark Du
f15eb9efa7
test: spa meta preload files 2018-01-29 11:59:05 +08:00
Clark Du
4907e81574
test: resolvePath throws error 2018-01-29 11:41:56 +08:00
Clark Du
a2ac4cb331
test: user istanbul ignore next due to nyc issue 2018-01-29 11:01:37 +08:00
Clark Du
6e2b37a7c6
test: csp, maxChunkSize and ignore generateConfig 2018-01-27 23:48:42 +08:00
Diederik van den Burger
7bea248fe4 feat: added errorMiddleware hook. (#2703) 2018-01-27 18:42:30 +03:30
Arsen Stahanov
9981df71fc Support autoimport of '.jsx' files 2018-01-26 15:37:00 +02:00
Sébastien Chopin
6d71770bf4
Merge pull request #2687 from NicoPennec/dev
feat: optional build option to limit chunks size
2018-01-26 12:21:47 +01:00
Sébastien Chopin
1ab4be456f fix: Handle redirect in middleware, fix #542 and #2665 2018-01-26 12:16:53 +01:00
Sébastien Chopin
5f50d402d5
Merge pull request #2673 from clarkdo/static_route
refactor: resolve exact route prior to index
2018-01-26 10:43:05 +01:00
Sébastien Chopin
6425fb30a5
Merge pull request #2679 from clarkdo/multiple_components
fix: multiple components in one route
2018-01-25 11:47:14 +01:00
NicoPennec
fdc07a319d perf: chunks size limit 2018-01-25 09:01:48 +01:00
Clark Du
94bb02901c
fix: multiple components in one route 2018-01-24 14:33:27 +08:00
Sébastien Chopin
fcf99b1140
Merge pull request #2674 from clarkdo/head_noscript
feat: add noscript in head
2018-01-23 11:43:25 +01:00
Sébastien Chopin
d0e011bdc4
Update meta.js 2018-01-23 11:42:25 +01:00
Clark Du
8b634c210d
feat: add noscript in head 2018-01-23 18:30:36 +08:00
Sébastien Chopin
00f98c150f fix: Fix error undefined on plugins errors 2018-01-23 10:41:50 +01:00
Clark Du
82c4c7ea1a
refactor: resolve exact route prior to index 2018-01-23 15:20:56 +08:00
LoneRifle
c1b30acbb3 fix: remove unnecessary async from waitFor utility (#2654) 2018-01-21 13:49:20 +03:30
Sébastien Chopin
9c568afb2d
Merge pull request #2617 from clarkdo/postcss-import-alias
feat: use ~ with postcss-import
2018-01-19 10:06:47 +01:00
Clark Du
a419aab704
refactor: add @ in postcss-import alias 2018-01-19 11:56:29 +08:00
Sébastien Chopin
d444f2a5b1 enhancement: Add path to 404 error message on server-side 2018-01-18 14:06:15 +01:00
Clark Du
eb9e4a529c
feat: transpile .jsx files 2018-01-18 20:10:23 +08:00
Clark Du
c796d1d231
refactor: use postcss-import-resolver 2018-01-17 17:54:48 +08:00
Clark Du
962a4e20d6
feat: use ~ with postcss-import 2018-01-17 16:46:58 +08:00
Sébastien Chopin
1ea0a9a6f2 wip: Add keep-alive prop to <nuxt/> and <nuxt-child/> 2018-01-17 09:39:34 +01:00
Pooya Parsa
95c85bba62 minor improvements for #2608 2018-01-16 18:41:17 +03:30
Kouki Narumi
5ebf60f2a1 feat: external script support for CSP (#2608) 2018-01-16 18:40:10 +03:30
Ben Zhao
a67ae8672b
fix: ssrContext.error is not a function 2018-01-16 19:01:03 +08:00
Clark Du
570bf1a5d5 refactor: change entry filename to be dynamic 2018-01-16 14:55:35 +08:00
Pooya Parsa
24185c97e7 fix: redirect without unresolved promise 2018-01-16 10:04:40 +03:30
Sébastien Chopin
97d70f46c6 misc: Fix typo 2018-01-15 13:51:51 +01:00
Sébastien Chopin
e8532dc80c fix: Remove useless console.log 2018-01-15 13:51:25 +01:00
Sébastien Chopin
de02ea4b5d app: Better external url redirect handling 2018-01-15 12:22:57 +01:00
Pooya Parsa
347fa3e9fd feat: add options.ignore support 2018-01-15 13:14:44 +03:30
Pooya Parsa
1075492d8b fix(module): default module options to empty object 2018-01-13 09:45:00 +03:30
Pooya Parsa
29110694fb use console.warn for warnings 2018-01-13 08:59:47 +03:30
Pooya Parsa
10d1b5974c style: format with prettier 2018-01-13 08:52:11 +03:30