Commit Graph

376 Commits

Author SHA1 Message Date
Sebastien Chopin
36cb41d5ab Add index.d.ts in files 2017-05-30 13:28:44 +02:00
Sebastien Chopin
03f2e133b1 Bump to alpha2 2017-05-29 17:04:01 +02:00
Sebastien Chopin
96cf4a0ec4 Add ts types 2017-05-29 17:03:28 +02:00
EGOIST
3acf300416 use webpack-node-externals 2017-05-24 21:04:17 +08:00
Sébastien Chopin
7f337cdadf Bump to 1.0.1-alpha1 2017-05-21 21:08:32 +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
Pooya Parsa
ecde37a279 [deps] update vue-loader to 12.1.0 2017-05-21 17:47:11 +04:30
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
Sebastien Chopin
3fef1bac61 Upgrade connect dependency 2017-05-17 11:26:51 +02:00
Sebastien Chopin
a1e2321e13 Use last version of vue-meta 2017-05-16 17:54:24 +02:00
Sebastien Chopin
0d9627b488 Update dependencies 2017-05-16 17:31:02 +02:00
Sebastien Chopin
78d219c473 Upgrade to vue-meta 1.0.2 2017-05-16 15:13:44 +02:00
Pooya Parsa
32ac90482e Merge remote-tracking branch 'remotes/origin/fix-middleware' into dev
# Conflicts:
#	lib/app/server.js
#	lib/app/utils.js
#	lib/generate.js
#	yarn.lock
2017-05-15 15:33:52 +04:30
Sébastien Chopin
39124b87fe Upgrade autoprefixer 2017-05-14 19:34:03 +02:00
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
Xavier Damman
a71ac29166 Added call to donate after npm install 2017-05-09 09:21:36 -04: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
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
Pooya Parsa
670b1254dd [deps] upgrade
Upgrades vue to 2.3.1
2017-05-02 13:46:51 +04:30
Pooya Parsa
87172100c7 [vue-loader] allow using builtin extractCSS functionality
This option is disabled by default and won't affect exiting users.
However users can easily enable this option using `nuxt.build.extractCSS`

Implementation is according to:
- https://github.com/vuejs/vue-loader/tree/master/docs/en/configurations
- https://ssr.vuejs.org/en/css.html
- https://github.com/vuejs/vue-hackernews-2.0/tree/master/build
2017-04-30 16:28:25 +04:30
Sébastien Chopin
5d4f289911 Update to 0.10.7 2017-04-29 16:31:42 -07:00
Pooya Parsa
2d7a0874f0 Merge branch 'master' into 2.3.0 2017-04-30 01:27:05 +04:30
Pooya Parsa
57d391cb99 [deps] upgrade
Also yarn.lock included to have consistent CI builds
2017-04-30 01:23:07 +04:30
Pooya Parsa
ec552bc5e9 [deps] upgrade vue-loader to 12.x
This brings Compatibility for the new features in vue-server-renderer@^2.3.0.
https://github.com/vuejs/vue-loader/releases/tag/v12.0.0
2017-04-27 23:53:57 +04:30
Mihal Malostanidis
5bd5865729 Emergency limit Vue version
temporary for #636
2017-04-27 21:45:59 +03:00
Pooya Parsa
8db3a22db9 deprecated vue-ssr-webpack-plugin in flavor of vue-server-renderer 2017-04-27 13:24:18 +04:30
Pooya Parsa
c6eef59823 [deps] upgrade vue to 2.3.0 2017-04-27 13:20:19 +04:30
Sébastien Chopin
6886f8bd57 Upgrade dependencies 2017-04-17 18:15:21 +02:00
Sébastien Chopin
854e262445 Bump to 0.10.6 2017-04-17 15:58:43 +02:00
Sebastien Chopin
7a6bc85b62 Upgrade dependencies 2017-04-14 11:56:50 +02:00
Sebastien Chopin
fe6b08d0fd Fix package.json 2017-04-11 10:01:22 +02:00
Sebastien Chopin
25066545bb Merge branch 'master' of github.com:nuxt/nuxt.js 2017-04-10 18:45:01 +02:00
Sebastien Chopin
b11a4d761b Add injectAs to work with external plugins 2017-04-10 18:44:08 +02:00
Sébastien Chopin
2560bfb512 Merge branch 'master' into offline-plugin-integration 2017-04-08 11:33:32 +02:00
Pooya Parsa
adc8282e57 Upgrade babel-preset-vue-app ~> 1.1.1 #463 2017-04-06 21:38:05 +04:30
Sebastien Chopin
2646970b67 Add preset-es2015 in dependencies 2017-04-05 15:39:17 +02:00
Sébastien Chopin
704ff5e577 Bump to 0.10.5 2017-03-26 00:54:12 +01:00
Sébastien Chopin
5ff6424e09 Bump to 0.10.4 2017-03-25 19:03:28 +01:00
Sébastien Chopin
26533f3676 Bump version 2017-03-25 15:16:20 +01:00
Sébastien Chopin
77439223cf Bump to 0.10.2 2017-03-25 12:36:58 +01:00
Sébastien Chopin
ea5881e64a Bump to 0.10.1 2017-03-25 03:41:22 +01:00
Sébastien Chopin
9f3cfbf226 Upgrade dependencies 2017-03-25 03:16:56 +01:00
Sébastien Chopin
6d969bdd6b Bump to 0.10.0 2017-03-24 19:02:20 +01:00
Sébastien Chopin
954c25b420 Upgrade vue-loader 2017-03-24 18:21:50 +01:00
Sébastien Chopin
39636a9544 Upgrade dependencies 2017-03-24 16:51:35 +01:00
Sébastien Chopin
4c3c7fd078 Upgrade dependencies 2017-03-24 02:14:53 +01:00
Sébastien Chopin
d4db5792a4 Improve webpack config
- Remove filenames.css
- Add FriendlyErrorsWebpackPlugin()
- Add sourceMaps for UglifyJS
- Minify CSS for server-rendered pages
- Add css-loader for imports
2017-03-24 01:28:04 +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
b05a66bda8 Update dependencies 2017-03-19 20:21:10 +01:00
Sébastien Chopin
0a595bd1c3 Merge remote-tracking branch 'origin/0.10.0' into 0.10.0
# Conflicts:
#	lib/generate.js
#	lib/utils.js
2017-03-16 18:54:37 +01:00
Sébastien Chopin
11c960e316 Upgrade vue-meta 2017-03-16 18:53:00 +01:00
rohitpal
2da8ba84c9 offline-plugin-integration initial commit 2017-03-12 05:25:01 +05:30
Alexandre Chopin
c4ea665c1a remove path to regexp 2017-03-06 20:00:26 +01:00
Sébastien Chopin
8287639507 Update preload plugin to work on node 4 2017-03-06 19:16:59 +01:00
Alexandre Chopin
7f925c22fa update vue ecosystem versions 2017-02-28 15:17:38 +01:00
Sébastien Chopin
c0518f7c88 Merge branch 'master' into 0.9.10 2017-02-28 13:11:46 +01:00
Sébastien Chopin
457c23d1dd Use verbose mode 2017-02-22 18:20:01 +00:00
Sébastien Chopin
10c4b1550f Use HTML template + optimise cache control + gzip 2017-02-21 17:11:41 +00:00
Alexander Roberts
9bfc3f4c1e Warn on
> fsevents@1.0.17 install /home/detrohutt/git/nuxt.js/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

make: Entering directory '/home/detrohutt/git/nuxt.js/node_modules/fsevents/build'
  SOLINK_MODULE(target) Release/obj.target/.node
  COPY Release/.node
make: Leaving directory '/home/detrohutt/git/nuxt.js/node_modules/fsevents/build'
nuxt@0.9.9 /home/detrohutt/git/nuxt.js
├─┬ chokidar@1.6.1
│ └─┬ fsevents@1.0.17
│   └── nan@2.5.1
└── nuxt@0.9.9  extraneous when using an untargeted version of node or npm
2017-02-18 06:27:10 -06:00
Sébastien Chopin
f5a6cf0569 Merge branch 'master' into 0.9.10
# Conflicts:
#	package.json
2017-02-18 10:57:12 +01:00
cj
721d2d63fa cleaner build/error outputs for terminal 2017-02-17 11:58:48 -06:00
Sébastien Chopin
00c9abb806 Revert to basic presets for build 2017-02-17 17:31:09 +01:00
Sébastien Chopin
2bb8f1fd58 Use vue-app preset for babel 2017-02-17 16:13:51 +01:00
Sébastien Chopin
1133b9327e Upgrade dependencies 2017-02-16 18:17:53 +01:00
Sébastien Chopin
32f1526c0b Upgrade dependencies 2017-02-12 11:48:16 +01:00
Sébastien Chopin
df04b959c2 Bump to 0.9.9 2017-02-11 00:41:15 +01:00
Sébastien Chopin
7cb65ce21c Bump to 0.9.8 2017-02-10 00:51:58 +01:00
Sébastien Chopin
c5b8d16a2b Add progress-bar when building 2017-02-08 14:09:59 +01:00
Sébastien Chopin
b23dc1da70 Bump to 0.9.7 2017-01-30 21:18:09 +01:00
Sébastien Chopin
e9740e4e27 Upgrade dependencies 2017-01-23 17:56:05 +01:00
Sébastien Chopin
a0eecd74b5 Update dependencies 2017-01-20 12:42:15 +01:00
yuchonghua
59a0df86bf remove cross-spawn
Do not use cross-spawn, to facilitate the use of process.send node-fork
for pipe communication
2017-01-19 01:40:35 +08:00
Sébastien Chopin
1556787e01 Bump to 0.9.6 2017-01-15 17:33:18 +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
Sébastien Chopin
da63846f55 Use ES6 syntax with Webpack RC4 2017-01-11 20:15:09 +01:00
Sébastien Chopin
52b2b513a6 Upgrade dependencies 2017-01-04 16:09:44 +01:00
Sébastien Chopin
42a3b00751 Bump version to 0.9.5 2016-12-27 17:07:50 +01:00
Sébastien Chopin
eb21c4d67f Update dependency 2016-12-27 16:30:51 +01:00
Sébastien Chopin
5fe01fdc0a remove babel-polyfill 2016-12-27 14:55:33 +01:00
Sébastien Chopin
05be1ed6b1 Bump version 2016-12-25 21:15:17 +01:00
Sébastien Chopin
1fc685a880 Bump to 0.9.3 2016-12-24 19:00:30 +01:00
Sébastien Chopin
02f966d495 Update dependencies 2016-12-24 18:01:52 +01:00
Sébastien Chopin
b96baeb555 Bump to 0.9.2 2016-12-23 13:09:22 +01:00
Sébastien Chopin
25f9f1a345 serial tests 2016-12-21 20:51:25 +01:00
Sébastien Chopin
ba4a7c3e0b More tests for build/index.js 2016-12-21 19:27:36 +01:00
Sébastien Chopin
b74d452f23 Add more tests 2016-12-21 15:03:37 +01:00
Sébastien Chopin
1798cc004b serial tests 2016-12-20 21:12:35 +01:00
Sébastien Chopin
117fa7ef3a Fix test 2016-12-20 20:54:23 +01:00
Sébastien Chopin
b5e24023a0 Update to serial tests 2016-12-20 20:47:34 +01:00
Sébastien Chopin
a03b13c2c1 Move to fixtures and add generate test 2016-12-20 20:44:42 +01:00
Sébastien Chopin
baaaefbf2c Bump to 0.9.1 2016-12-20 12:55:48 +01:00
Sébastien Chopin
3777e52a99 Update dependencies 2016-12-20 11:17:11 +01:00
Sébastien Chopin
9780bd7b46 Bump to 0.9.0 2016-12-19 20:36:58 +01:00
Sébastien Chopin
9d6db35079 Fix webpack dependency 2016-12-15 20:18:10 +01:00
Sébastien Chopin
04ee77ce61 Fix webpack dependency 2016-12-15 20:13:54 +01:00
Sébastien Chopin
736f1ed1d5 Use webpack 2.2.0-rc.0 2016-12-15 18:53:00 +01:00
Alexandre Chopin
4ebe6f7ac8 add html minifier for generate 2016-12-12 23:09:11 +01:00
Sébastien Chopin
803b21bf17 Bump to 0.8.8 2016-12-09 20:10:04 +01:00
Sébastien Chopin
19e7e6f6cf Bump to 0.8.7 2016-12-09 19:52:36 +01:00
Sébastien Chopin
7cbc06144d compat with node 4 2016-12-09 19:40:59 +01:00
Sébastien Chopin
09e637cf4b generate dist lib 2016-12-09 18:54:17 +01:00
Sébastien Chopin
d482711cbe Bump to 0.8.6 2016-12-09 13:52:08 +01:00
Sébastien Chopin
151bd73b82 Bump to 0.8.5 2016-12-09 13:46:59 +01:00
Sébastien Chopin
f6d9355ff4 Bump to 0.8.4 2016-12-09 13:46:36 +01:00
Sébastien Chopin
4895433d33 Bump to 0.8.3 2016-12-08 11:43:47 +01:00
Sébastien Chopin
40e28de226 Bump to 0.8.2 2016-12-07 23:58:51 +01:00
Sébastien Chopin
78a2c5afe7 bump to 0.8.1 2016-12-07 23:44:34 +01:00
Sébastien Chopin
be5e8c118d Bump version 2016-12-07 19:43:22 +01:00
Sébastien Chopin
8801327db2 Bump version 0.7.8 2016-12-04 19:16:48 +01:00
Sébastien Chopin
0f2b976d65 bump to 0.7.8 2016-12-01 19:09:40 +01:00
Sébastien Chopin
fdc430b23b Bump 0.7.7 2016-11-28 16:28:59 +00:00
Alexandre Chopin
1180b972a2 update package.json infos 2016-11-28 17:10:29 +01:00
Sébastien Chopin
53499f2a6b bump 0.7.6 2016-11-27 18:46:05 +01:00
Sébastien Chopin
3ed1340d56 Bump to 0.7.5 2016-11-27 18:13:01 +01:00
Sébastien Chopin
bcf291b547 Bump to v0.7.4 2016-11-25 17:58:23 +01:00
Sébastien Chopin
cb1994319c Bump to v0.7.3 2016-11-25 15:37:21 +01:00
Sébastien Chopin
a3bbd71f65 Use babel preset es2015 by default in .vue files 2016-11-24 14:41:05 +01:00
Sébastien Chopin
d984c8803d Version 0.7.1 2016-11-24 13:16:48 +01:00
Sébastien Chopin
40515ac91a Update dept and start next generate 2016-11-24 01:47:11 +01:00
Sébastien Chopin
b142b0665a Upgrade devDependencies 2016-11-23 14:11:46 +01:00
Sébastien Chopin
f1ddceacbb Upgrade dependencies 2016-11-23 14:11:46 +01:00
Sébastien Chopin
6d86df8291 Upgrade to vue 2.1.0 2016-11-23 13:40:25 +01:00
Sébastien Chopin
57b55dc512 Add build.postcss option 2016-11-23 00:47:31 +01:00
Sébastien Chopin
fc598ea66e Fix reused component data 2016-11-23 00:27:07 +01:00
Sébastien Chopin
2400fabceb Add transition option and package.json next config 2016-11-21 19:53:11 +01:00
Sébastien Chopin
edd0227e74 Add pages/_app.vue possibility + example 2016-11-21 14:15:08 +01:00
Sébastien Chopin
cb20e417fa Add Content-Type text/html header 2016-11-21 14:15:07 +01:00
Alexandre Chopin
b8436b067f Fix duplicate routes and hidden files 2016-11-20 12:23:48 +01:00
Sébastien Chopin
8cbbaeaf83 Fix path on windows 2016-11-20 11:37:53 +01:00
Sébastien Chopin
baa38b1171 Update vue-router 2016-11-19 22:48:45 +01:00
Sébastien Chopin
e48f8250a0 Mixins and Vue.extend possible 2016-11-18 14:45:25 +01:00
Sébastien Chopin
d4b8bc4f02 Add build.babel option 2016-11-18 10:38:57 +01:00
Sébastien Chopin
f4bff18836 No more store option (implicit now) 2016-11-18 09:17:39 +01:00
Sébastien Chopin
49f67566c2 Add build.plugins and fix when no component matched 2016-11-17 22:12:21 +01:00
Sébastien Chopin
06edc8029b Use omit and add example 2016-11-17 14:02:09 +01:00
Sébastien Chopin
c9250b4d07 Add nuxtServerInit action in the store 2016-11-17 13:52:00 +01:00
Sébastien Chopin
2677afb46f Fix due 2.0.6~7 and add error() in context 2016-11-17 11:57:12 +01:00
Sébastien Chopin
a98e6d4e9b Watch changes on nuxt.config.js when launching nuxt-dev 2016-11-16 18:41:09 +01:00
Sébastien Chopin
d2c0f01593 Fix resolve when using alias 2016-11-16 18:06:54 +01:00
Sébastien Chopin
b1546682ef Add aliases and update examples 2016-11-16 17:55:26 +01:00
Sébastien Chopin
a9ae6e0360 Use vie-meta and webpack 26 2016-11-14 23:59:54 +01:00
Sébastien Chopin
c5c9448a26 remove 2 dependencies 2016-11-11 15:30:11 +01:00
Sébastien Chopin
78aabe480f modern static for redirect is great now 2016-11-11 01:11:21 +01:00
Sébastien Chopin
5b0ff5617b Add redirect in context 2016-11-11 00:01:36 +01:00
Sébastien Chopin
b6ee7099a0 Rename components (moved from pages) 2016-11-10 21:52:27 +01:00
Sébastien Chopin
24418134cd bump version 2016-11-10 19:35:39 +01:00
Sébastien Chopin
ea1c5dee15 config.router + base + linkClassActive 2016-11-10 17:16:37 +01:00
Sébastien Chopin
9f370cb97c Check if static folder exists 2016-11-10 15:09:10 +01:00
Sébastien Chopin
a8776de913 nuxt-generate 2016-11-10 14:46:16 +01:00
Alexandre Chopin
bd5ec528c5 Merge remote-tracking branch 'nuxt/master' 2016-11-10 13:24:34 +01:00
Alexandre Chopin
06694e32ce generator done 2016-11-10 13:24:20 +01:00
Alexandre Chopin
e0641e1e51 generator 2016-11-10 12:33:52 +01:00
Sébastien Chopin
c97c4ec32e watch pages/ dir to updates routes dynamically 2016-11-10 03:38:11 +01:00
Sébastien Chopin
d88948bdea map static to /
v0.3.0
2016-11-10 02:19:47 +01:00
Sébastien Chopin
4fd3a8c131 bump version to 0.2.6 2016-11-10 00:00:03 +01:00
Sébastien Chopin
a5780a09ca move to nuxt org, rename loading to nuxt-loading 2016-11-09 15:55:02 +01:00
Sébastien Chopin
73bdfc0394 Move vendor and filenames in build key and add loaders 2016-11-09 02:35:13 +01:00
Sébastien Chopin
90f8d5f1fb Add .plugins option 2016-11-08 02:57:55 +01:00
Sébastien Chopin
923b211a92 Bump version 2016-11-08 01:54:53 +01:00
Sébastien Chopin
876054ed48 remove harmony-proxies 2016-11-08 01:18:26 +01:00
Sébastien Chopin
9ebbb14eab Version 0.2.0
- Add README for examples vuex-store, async-data and global-css
- Add examples/global-css/
- Feature: we can now use nuxt.config.js to add global css files and
modules
- Fix: show webpack error of compilation
2016-11-07 23:26:53 +01:00
Sébastien Chopin
e80cf65d21 Faster Loading component
- Finished examples/custom-routes/
2016-11-07 21:58:56 +01:00
Sébastien Chopin
7dd959bd21 Fix route name in 0.1.7 2016-11-07 21:42:48 +01:00
Sébastien Chopin
cf24b926a1 Version 0.1.6
- Add example /custom-routes/
- Rename example/with-store/ to examples/vuex-store/
- Feature: Add .vue at the end of the component if not specified in
custom routes
- Feature: Add .params and .query in the context
- Feature: Add .name in route if given in custom routes
2016-11-07 21:38:51 +01:00
Sébastien Chopin
749274d22a Version 0.1.5
- Add examples/with-store/ to show how to use Vuex with nuxt.js
- Fix fetch().then when fetch does not return a promise
- Map static folder to /static/
2016-11-07 20:57:44 +01:00
Sébastien Chopin
2956e73c3e Loading component done
- Loading component working and customisable via nuxt.config.js (see
examples/async-data/)
- Accept callback for new Nuxt(options, cb) with cb(null, nuxt)
- Simplify async-data example
2016-11-07 19:21:32 +01:00
Sébastien Chopin
3d206de7a5 Async-data example working 2016-11-07 14:12:59 +01:00
Sébastien Chopin
59f69165bb Remove files in package.json 2016-11-07 13:55:26 +01:00
Sébastien Chopin
5aa42e2903 Add async-data example + add module resolver in webpack 2016-11-07 13:53:05 +01:00
Sébastien Chopin
8ab135af55 Prototype 0.1.0 working
Alpha 0.1.0
2016-11-07 02:34:58 +01:00
Sébastien Chopin
6cce8b161a Add WIP 2016-10-26 13:40:55 +02:00