Commit Graph

448 Commits

Author SHA1 Message Date
Sébastien Chopin c3355e1467 Store state should always be a method now 2017-05-21 15:45:21 +02:00
Sébastien Chopin 14c3c07d57 Remove `cache` option, use `build.ssr.cache` instead 2017-05-21 15:13:19 +02:00
Sébastien Chopin e95c0a6573 Use 2 files for normal store 2017-05-21 02:03:11 +02:00
Sébastien Chopin cf58f299d8 Add typescript example 2017-05-20 11:35:50 +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 383a9a46c0 Merge pull request #703 from bratberg/master
Bumped nuxt and vuetify versions
2017-05-14 19:36:40 +02:00
Espen Bratberg 64aa5a3c95 Fix blocking css 2017-05-11 20:16:35 +02:00
Espen Bratberg 25b23b4cbb Adds demo link to README 2017-05-11 19:11:32 +02:00
Espen Bratberg ca73b19ae2 Bumped nuxt and vuetify versions 2017-05-11 18:59:47 +02:00
Mihal Malostanidis 756929079a Fix copy paste typo in the comments 2017-05-10 18:53:16 +03:00
Sebastien Chopin 64abcc04a8 Fix middleware on client-side 2017-05-09 14:43:47 +02:00
Sébastien Chopin 888811f5f4 Fix middleware on server-side 2017-05-08 19:30:57 +02:00
Sebastien Chopin e148e4b93a Add extractCSS option 2017-05-05 17:53:21 +02:00
Pooya Parsa 6ee5d958a7 cleanups 2017-04-30 17:24:14 +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
Pooya Parsa 56f3be060c [examples] Update custom filenames #574 2017-04-21 21:33:29 +04:30
Sébastien Chopin 0bea10b857 Fix vue-class-component example 2017-04-17 18:15:55 +02:00
Sébastien Chopin e69aa7c401 Simplify offline plugin 2017-04-17 15:27:32 +02:00
Sebastien Chopin f89722e7c8 Example with vue-class-component 2017-04-14 16:47:21 +02:00
Sebastien Chopin b0d33bdc4b Draft for using vue-apollo (WIP) 2017-04-14 12:52:27 +02:00
Sebastien Chopin d1804e1b9b Add vue-i18n dependency 2017-04-14 12:52:13 +02:00
Sebastien Chopin 135df99d3a Update i18n example to use vue-i18n 2017-04-14 11:55:04 +02:00
Sebastien Chopin 68de7eaa4b Add home page link 2017-04-13 11:36:03 +02:00
Charlie Hield 1e56eae2cf Fix CI 404 should display error 2017-04-11 13:36:20 -05:00
Charlie Hield ef5ebd0417 Add Nuxt + Apollo example 2017-04-11 13:15:31 -05: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 757eaf7908 Update init-offline.js 2017-04-08 11:34:42 +02:00
Sébastien Chopin 2560bfb512 Merge branch 'master' into offline-plugin-integration 2017-04-08 11:33:32 +02:00
Sébastien Chopin ddbb4b96d1 Set ssr: false 2017-04-08 11:30:06 +02:00
Sebastien Chopin 5849c68993 fix: npm start script 2017-04-06 12:28:27 +02:00
Ralph Huwiler 6f66cd0a1f updated example for nested modules 2017-03-25 23:04:34 +01:00
Sébastien Chopin 9f3cfbf226 Upgrade dependencies 2017-03-25 03:16:56 +01:00
Sébastien Chopin b790a26a7f Merge pull request #435 from bratberg/master
Bump Nuxt and Vuetify versions in "with-vuetify"-example
2017-03-24 23:41:35 +01:00
Espen Bratberg 9f193ab9fe Update README 2017-03-24 19:50:55 +01:00
Espen Bratberg 8f28f1d8dd Bumped nuxt and vuetify versions 2017-03-24 19:50:03 +01:00
Sébastien Chopin 7f767b7fb7 Remove unused css 2017-03-24 16:51:49 +01:00
Sébastien Chopin 1cd5c0d68b Merge branch 'master' into 0.10.0
# Conflicts:
#	lib/generate.js
#	lib/utils.js
2017-03-20 17:53:39 +01:00
Espen Bratberg c0ae85e53b Update with-vuetify example with theme overrides 2017-03-19 08:17:32 +01:00
Sébastien Chopin 0a9477dc7b Dynamic layouts example 2017-03-17 18:03:12 +01:00
Sébastien Chopin 09b019f6ec Merge branch 'master' into 0.10.0 2017-03-16 18:54:54 +01:00
Espen Bratberg 1ef13c7535 Add sidebar to example 2017-03-15 13:01:52 +01:00
bratberg 18ec7507ad Add Vuetify.js example 2017-03-14 21:13:39 +01:00
rohitpal b12ea53a94 fixed sw/appcache paths 2017-03-12 20:46:16 +05:30
rohitpal f584a221ee service worker registraion 2017-03-12 05:43:34 +05:30
rohitpal 2da8ba84c9 offline-plugin-integration initial commit 2017-03-12 05:25:01 +05:30
Sébastien Chopin 8253f5e75b Add plugin ssr option & rename process.browser 2017-03-01 17:54:44 +01:00
Alexandre Chopin a4461ff590 update examples for asyncData 2017-02-28 15:17:49 +01:00
Charlie Hield b3e909a704 Add Firebase example 2017-02-24 21:37:05 -06:00
Sébastien Chopin bea7b73ad5 Example with JSX 2017-02-17 16:12:20 +01:00
Alexandre Chopin 2c33be31d5 update i18n example 2017-02-13 19:08:22 +01:00
Sébastien Chopin e01093b2ac Usage of getters 2017-02-12 11:48:16 +01:00
Sébastien Chopin 77f9e90c82 Update color 2017-02-10 13:05:05 +01:00
Sébastien Chopin 2c7eecace7 Fix i18n example 2017-02-10 12:55:51 +01:00
Sébastien Chopin e7f0200a58 Update examples 2017-02-10 02:22:33 +01:00
Sébastien Chopin bc47bdb24b Update examples 2017-02-10 01:20:22 +01:00
Sébastien Chopin d698cb4dca Update i18n example 2017-02-10 00:45:36 +01:00
Alexandre Chopin bf857e94bb fix routes example 2017-02-09 00:46:52 +01:00
Sébastien Chopin b7052c1df5 Fix route 2017-02-08 20:33:11 +01:00
Alexandre Chopin b85de3151d example i18n 2017-02-08 20:13:14 +01:00
Sébastien Chopin f490786fa3 vue-i18n example 2017-02-08 18:49:16 +01:00
Alexandre Chopin 27336d4741 example vue-i18n 2017-02-08 17:33:13 +01:00
Sébastien Chopin 17650c25e0 Middleware feature 🔥 2017-02-03 15:09:38 +01:00
Sébastien Chopin 68426b4df4 Add nested routes example 2017-01-26 15:22:10 +01:00
Sébastien Chopin ba3fd95f14 Fix example for vuex store 2017-01-26 10:33:54 +01:00
Sébastien Chopin ad14d7439e Update example 2017-01-18 18:04:41 +01:00
Sébastien Chopin 8f4fbc1bdb Add socket.io example 2017-01-18 17:25:50 +01:00
Sébastien Chopin 8a8ad7e67c Update examples README 2017-01-15 18:51:27 +01:00
Sébastien Chopin b34a408224 Update README.md 2017-01-15 18:43:04 +01:00
Sébastien Chopin dcadb277ee Update README.md 2017-01-15 18:42:32 +01:00
Sébastien Chopin 2352aa1a17 Update README.md 2017-01-15 18:41:27 +01:00
Sébastien Chopin 741f06f9a9 use nodemon 2017-01-11 20:29:48 +01:00
Sébastien Chopin 1cfb53ef39 rename to with-feathers 2017-01-11 20:23:43 +01:00
Sébastien Chopin fdd46cefc5 Listen on port 3000 2017-01-11 20:20:52 +01:00
Sébastien Chopin 664ef28cc1 Add nuxt.config.js 2017-01-11 20:20:40 +01:00
Sébastien Chopin 46676eb5c5 Update package.json 2017-01-11 20:17:12 +01:00
Sébastien Chopin 828d994a0d delete unused folder 2017-01-11 20:16:04 +01:00
Sébastien Chopin ea31b09ee2 Add with-featherjs example 2017-01-11 20:15:09 +01:00
Sébastien Chopin f8de9dbe0d Update examples 2017-01-09 15:10:29 +01:00
Brendan f0fba0b0c5 Merged branch master into master 2016-12-30 14:28:21 +01:00
Sébastien Chopin c4c3e74e4e Update tests with ava 2016-12-30 12:17:52 +01:00
Brendan 09d0d03198 documenting store generation 2016-12-30 10:11:55 +01:00
Sébastien Chopin f4ca19ee73 Add post link for async/await 2016-12-28 12:37:50 +01:00
Sébastien Chopin aa1df39142 remove ES7 2016-12-27 17:39:08 +01:00
Sébastien Chopin 6cda84ed49 Update README.md 2016-12-27 17:06:15 +01:00
Sébastien Chopin 5d82cf3d68 Update README.md 2016-12-27 17:04:13 +01:00
Sébastien Chopin 05a66e0cba Update async-data example 2016-12-27 16:57:50 +01:00
Sébastien Chopin 3f9aa0f345 show extend option in example 2016-12-27 16:30:33 +01:00
Brendan c2d8329bc0 duplicate examples 2016-12-26 15:55:00 +01:00
Sébastien Chopin cb4dcf0b37 Update custom layout example 2016-12-25 22:55:00 +01:00
Brendan d7c5babf1f better vuex store 2016-12-25 21:16:30 +01:00
Sébastien Chopin a56601003b custom-layouts example and doc 2016-12-24 18:00:56 +01:00
Sébastien Chopin 98baa26895 Update custom-layout documentation 2016-12-24 17:59:13 +01:00
Sébastien Chopin e3ebb6a54e Update hello-world example 2016-12-24 14:15:24 +01:00
Sébastien Chopin 3a0fcdee73 Layout with code-splitting! 2016-12-24 12:34:41 +01:00
Sébastien Chopin afd7eb86e6 Add example for custom-layout 2016-12-24 01:55:46 +01:00
Sébastien Chopin 7148502e37 sub component async data impossible 2016-12-23 13:30:45 +01:00
Sébastien Chopin 2a9519e720 start async data in sub-components 2016-12-23 13:09:22 +01:00
Sébastien Chopin 20763b1cb6 Fix https for API call 2016-12-21 01:17:09 +01:00
Sébastien Chopin 37e7a01955 renderAndGetWindow does not need jsdom 2016-12-20 18:05:48 +01:00
Sébastien Chopin 4c3f7abb1d Update exemple css 2016-12-20 13:44:22 +01:00
Sébastien Chopin 79fae6fe5c Update example with dynamic transition 2016-12-20 13:44:21 +01:00
Sébastien Chopin 6d9f8f23f1 Add JS hooks and dynamic transition 2016-12-20 13:29:10 +01:00
Sébastien Chopin f43617b083 Update README.md 2016-12-20 10:38:16 +01:00
Sébastien Chopin eabcf490b1 Simplify example 2016-12-19 20:35:34 +01:00
Sébastien Chopin 8b44294858 Typo 2016-12-16 18:13:53 +01:00
Sébastien Chopin 0142dae008 Replace router-link to nuxt-link 2016-12-16 18:12:38 +01:00
Sébastien Chopin 36f3d48ece Custom route example 2016-12-16 17:46:30 +01:00
Sébastien Chopin 04ee77ce61 Fix webpack dependency 2016-12-15 20:13:54 +01:00
Alexandre Chopin b6b1fc3073 add component nuxt-child 2016-12-13 17:42:45 +01:00
Sébastien Chopin efd6b5cefa Merge branch 'master' into nested-dynamic-routes 2016-12-13 17:38:44 +01:00
Anthony Cook 71b6b990c8 Update package.json
NODE_ENV is not a recognised command on Windows, the work around is to use the cross-env package or to have two separate scripts, one for Windows and one for Unix based systems. I figured using the cross-env is much more friendly and will save confusion, tested on both Windows and Mac.
2016-12-13 12:17:17 +00:00
Alexandre Chopin d3b904cb7c fix readme 2016-12-13 11:17:05 +01:00
Alexandre Chopin 14543bc327 fix tabs readme 2016-12-13 11:08:23 +01:00
Alexandre Chopin 044a4bfb55 update readme 2016-12-13 11:06:11 +01:00
Alexandre Chopin e1b5846899 update readme 2016-12-13 11:04:55 +01:00
Alexandre Chopin 1916bb6d2f clean example 2016-12-13 11:04:48 +01:00
Sébastien Chopin 7f3a39fea1 Fix child components data 2016-12-12 21:55:43 +01:00
Alexandre Chopin 2c4a512dda generate ok 2016-12-12 21:54:02 +01:00
Sébastien Chopin f8c7b5c012 Add validate option 2016-12-12 16:30:07 +01:00
Sébastien Chopin b3df306c30 Merge branch 'master' into nested-dynamic-routes 2016-12-12 15:02:32 +01:00
Sébastien Chopin ca7d8bc3a8 No extension needed to import vue files 2016-12-12 15:01:57 +01:00
Alexandre Chopin 32a6f30118 delete option routes.router 2016-12-12 14:16:47 +01:00
Alexandre Chopin cc15926340 update example 2016-12-12 00:15:15 +01:00
Alexandre Chopin ae2bf10221 nested data example update 2016-12-11 17:10:35 +01:00
Alexandre Chopin 1ee4f9c40e update example 2016-12-11 16:41:52 +01:00
Alexandre Chopin d09fdfb78e scoop position nested routes 2016-12-11 16:40:18 +01:00
Alexandre Chopin 8870c181d7 Update custom route example
Build and Router
2016-12-11 02:44:40 +01:00
John Lindquist d7fb9560be Update README.md 2016-12-09 14:32:19 -07:00
Sébastien Chopin ce7e47c7f1 Merge pull request #47 from cj/eslint/no-console
added no-console to eslint
2016-12-08 18:08:32 +01:00
cj c4823f27a8 added no-console to eslint 2016-12-08 09:41:20 -06:00
Alexandre Chopin 4d7102c3e1 update config example auth-routes 2016-12-08 16:39:27 +01:00
Sébastien Chopin b54d8169e8 Update layout example 2016-12-07 23:44:22 +01:00
Sébastien Chopin 8c14c9018e update css 2016-12-07 23:44:11 +01:00
Sébastien Chopin 15e066b060 Finish auth-routes example 2016-12-07 19:23:08 +01:00
Sébastien Chopin 401930450c remove console.log 2016-12-07 18:59:38 +01:00
Sébastien Chopin 495c46040b Update ava test 2016-12-07 18:37:19 +01:00
Sébastien Chopin a757fd6401 Update for production 2016-12-07 17:13:32 +01:00
Sébastien Chopin bcaf91a278 Update auth-routes example 2016-12-07 17:03:52 +01:00
Alexandre Chopin 3536936856 add name on custom routes example 2016-12-07 01:58:59 +01:00
Victor Tolbert 2ad9951a71 Fix markdown table and typo 2016-12-05 20:36:08 -05:00
steven5538 451737e0e2 Update README.md
typo
2016-12-05 15:13:16 +08:00
Sébastien Chopin 12c013df36 Add auth-routes examples (WIP) 2016-12-04 19:16:47 +01:00
Sébastien Chopin ddbffcc8af Add README 2016-12-01 19:09:40 +01:00
Sébastien Chopin ba8327abf4 Add cached-components example 2016-12-01 19:09:40 +01:00
Sébastien Chopin 4f60d4250e Use https for API calls 2016-11-27 19:26:42 +01:00
Sébastien Chopin 6ab9f138c4 Clean custom-routes example 2016-11-27 18:12:45 +01:00
Sébastien Chopin d1920860c0 script start for hello-world 2016-11-27 17:18:56 +01:00
Sébastien Chopin 34f46720c3 hello-world example like in the video 2016-11-27 13:39:52 +01:00
Sébastien Chopin fc25b2eaa8 Update README.md 2016-11-25 18:20:07 +01:00
Sébastien Chopin 74951a7e40 Compress images 2016-11-25 17:57:22 +01:00
Sébastien Chopin cb3bf4c320 window.onNuxtReady is now a function 2016-11-25 15:36:27 +01:00
Sébastien Chopin e441b7eb12 process.BROWSER_BUILD 2016-11-24 01:46:20 +01:00
Sébastien Chopin 6d86df8291 Upgrade to vue 2.1.0 2016-11-23 13:40:25 +01:00
Sébastien Chopin b6affe88dd rename route-transitions 2016-11-21 20:44:35 +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
Alexandre Chopin b8436b067f Fix duplicate routes and hidden files 2016-11-20 12:23:48 +01:00
Sébastien Chopin fa68b8b383 remove share link 2016-11-19 23:03:09 +01:00
Sébastien Chopin 25fcbf5d5e head-elements example 2016-11-19 22:48:34 +01:00
Sébastien Chopin fa08596350 Add custom-loading README 2016-11-19 22:17:57 +01:00
Sébastien Chopin ae9b41f321 Add callback argument (optional) in data 2016-11-19 22:16:26 +01:00
Sébastien Chopin d928c9e597 Remove config file 2016-11-18 09:19:06 +01:00
Sébastien Chopin f4bff18836 No more store option (implicit now) 2016-11-18 09:17:39 +01:00
Pascal Borreli e4b202e7d9 Fixed typos 2016-11-18 04:02:43 +01:00
Sébastien Chopin 06edc8029b Use omit and add example 2016-11-17 14:02:09 +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 8b4c2e0e53 Fix tab 2016-11-17 00:37:51 +01:00
Sébastien Chopin b1546682ef Add aliases and update examples 2016-11-16 17:55:26 +01:00
Sébastien Chopin de62e9c2e1 Update logo 2016-11-15 14:23:55 +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 cb7406cba6 router.base is now working as expected 2016-11-10 19:34:59 +01:00
Sébastien Chopin ea1c5dee15 config.router + base + linkClassActive 2016-11-10 17:16:37 +01:00
Sébastien Chopin b9680bc3ea Add package.jsonn in examples 2016-11-10 14:30:18 +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 18a2b57655 Add nuxt-build and nuxt-start, build:false and dev option 2016-11-09 23:59:41 +01:00
Sébastien Chopin 78d81228f4 Update logo 2016-11-09 20:52:06 +01:00
Sébastien Chopin 030e34bfa6 Update logo 2016-11-09 20:47:51 +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 2573881042 Use " in to attribute 2016-11-08 18:14:16 +01:00
Sébastien Chopin 90a97d76ce Add style to plugins-vendor example 2016-11-08 03:48:18 +01:00
Sébastien Chopin d47775ebfd Update plugins-vendor example (now working) 2016-11-08 03:39:57 +01:00
Sébastien Chopin 90f8d5f1fb Add .plugins option 2016-11-08 02:57:55 +01:00
Sébastien Chopin 37341ee4ef Update README 2016-11-08 01:07:04 +01:00
Sébastien Chopin 1bd8a63f9e npm ignore, route meta and documentation 2016-11-08 01:04:26 +01:00
Sébastien Chopin bcd1a80c6c Fix README extension 2016-11-07 23:35:43 +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 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