Pooya Parsa
c5ca8c64f1
refactor: nuxt constructor no longer returns a promise
...
by not returning a promise we can expose .render method
also the old way of using nuxt won't change by 1.x release
2017-05-31 18:51:16 +04:30
Sebastien Chopin
2bb5cca1d5
Remove buildNamespace in favor of buildDir
2017-05-30 16:09:36 +02:00
Mouti'a Benachour
8473cd3a6b
add option to namespace .nuxt
2017-05-24 02:05:15 +01:00
Mouti'a Benachour
923f907442
call .nuxt directory buildDir
2017-05-24 00:52:48 +01:00
Sebastien Chopin
eaee5afbde
Add render.static
option to customize serve-static
middleware
2017-05-22 12:51:03 +02:00
Sébastien Chopin
f050bb6330
Refactor
2017-05-21 19:18:48 +02:00
Sébastien Chopin
7146b0f2a8
Merge branch 'dev' of github.com:Atinux/nuxt.js into dev
2017-05-21 15:46:32 +02:00
Sébastien Chopin
14c3c07d57
Remove cache
option, use build.ssr.cache
instead
2017-05-21 15:13:19 +02:00
Pooya Parsa
dd32b5441f
ETag header support
2017-05-21 16:48:21 +04:30
Pooya Parsa
1939e08cb2
deprecate performance key
2017-05-21 16:36:01 +04:30
Pooya Parsa
f0c66b490a
requireModule and addModule
...
requireModule can be used for Meta-Modules to prevent duplicate requires
2017-05-20 13:43:55 +04:30
Pooya Parsa
effb354d71
performance.prefetch
2017-05-19 12:15:36 +04:30
Pooya Parsa
90fc778e81
Middlewares ~> Middleware
...
https://english.stackexchange.com/questions/257120/middleware-vs-middlewares
2017-05-19 12:05:20 +04:30
Pooya Parsa
a70fc016e4
Refactor generateRoutesAndFiles
2017-05-18 13:15:15 +04:30
Sebastien Chopin
d3f707dde2
Refactor code base
2017-05-17 11:27:05 +02:00
ausir
50a8648eeb
user specified base then add base in html head
2017-05-17 00:58:27 +08:00
Pooya Parsa
c2befae5db
Refactor with async/await instead of yield
2017-05-16 01:21:27 +04:30
Pooya Parsa
632a94a9c6
[module] Tests
2017-05-15 03:03:31 +04:30
Pooya Parsa
be80f95278
middleware ~> serverMiddleware
...
To avoid confuse between client and serverSide middlewares
2017-05-12 23:24:00 +04:30
Pooya Parsa
a6f1ce7465
Merge remote-tracking branch 'origin/master' into modules
2017-05-12 23:06:15 +04:30
Pooya Parsa
9c1060e06c
🔥 Server Middlewares
...
This commit adds `middlewares` option to nuxt and accepts connect style middlewares.
Also modules can register middlewares using `this.addMiddleware()` method.
Each entry can be a simple middleware function or {path, handler} to support paths.
2017-05-12 14:52:06 +04:30
Pooya Parsa
d98c24b9b9
close customFilesWatcher on nuxt::close
2017-05-12 12:57:59 +04:30
Pooya Parsa
4800a9e8fd
build.templatesFiles
...
This feature adds advanced plugin and template support to modules
2017-05-11 22:41:00 +04:30
Pooya Parsa
497d673727
Install all modules in sequence before nuxt init
...
For this functionality Nuxt constructor would return a Promise so all bin commands updated to resolve promise before using nuxt
2017-05-11 15:53:58 +04:30
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
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
Pooya Parsa
d9ed6ecea9
integrate template with server renderer
2017-04-27 22:36:10 +04:30
Sébastien Chopin
1cefff8194
Add watchers option and url after build
2017-03-25 15:16:07 +01:00
Alexandre Chopin
c9784651e9
add gzip configuration
2017-03-25 12:57:38 +01:00
Sébastien Chopin
c4962f09a9
Improve chokidar watch on middleware and store
2017-03-25 05:06:12 +01:00
Sébastien Chopin
8f277af03b
Set prefetch to true by default
2017-03-24 01:25:27 +01:00
Sébastien Chopin
64f83b71c3
Vue 2.2 and styles included
2017-03-22 15:47:34 +01:00
Sébastien Chopin
a81862e77f
Upgrade dependencies & lint
2017-03-20 17:52:35 +01:00
Sébastien Chopin
0e2474c681
Check if app.html exists
2017-02-22 18:19:49 +00:00
Sébastien Chopin
591ef50a06
Fix template not built
2017-02-21 18:22:57 +00:00
Sébastien Chopin
6cc1231eb2
Add performance option
2017-02-21 17:39:29 +00:00
Sébastien Chopin
10c4b1550f
Use HTML template + optimise cache control + gzip
2017-02-21 17:11:41 +00:00
Sébastien Chopin
7b3c62739c
Remove conditional nuxtStatic middleware
2017-02-21 11:31:47 +00:00
Sébastien Chopin
5b22564b10
Merge branch 'master' into 0.9.10
2017-02-18 10:55:36 +01:00
cj
c40259877b
allow router mode to be set in config
2017-02-17 02:43:48 -06:00
Sébastien Chopin
376362ec39
Handle publicPath
2017-02-16 18:16:00 +01:00
Sébastien Chopin
17650c25e0
Middleware feature 🔥
2017-02-03 15:09:38 +01:00
Sébastien Chopin
d9fe4b9612
Add scrollBehavior option
2017-01-26 15:56:47 +01:00
Sébastien Chopin
1051b733f9
Add extendRoutes option
2017-01-18 17:25:50 +01:00
Sébastien Chopin
8f29fe6a54
Add utils in next instance
2017-01-11 22:51:52 +01:00
Sébastien Chopin
6de6c0e16b
Use webpack-rc4
2017-01-11 22:18:23 +01:00
Sébastien Chopin
5a876d2a22
Use webpack-rc3
2017-01-11 21:12:44 +01:00