Commit Graph

590 Commits

Author SHA1 Message Date
Clark Du 2b5c367efa refactor: use eslint-plugin-vue instead of eslint-plugin-html (#3517) 2018-07-12 14:03:50 +02:00
Vyacheslav Bikbaev 159021eabe i18n example fix (#3482)
Today I was implementing an i18n according to this example in one of my projects. Unfortunately, current example fails if (for example) our `defaultLocale` is `en` and our url is `example.com/en/` or `example.com/en/news`: middleware redirects into `example.com//` and `example.con//news` respectively.

I've fixed the example (not sure if it is the most elegant way to do it though), so it replaces `/en/` with `/`.
2018-06-27 08:14:04 +02:00
Jon Ege Ronnenberg 1b46a95b06 Webworker (#3480)
* added missing eslint-loader that prevented the example to run and changed freeWorker to terminate a worker and create a new since we can not really free a worker

* proper remove long running worker from longRunningWorkers array when done

* polish web-worker example

set nuxt to 'latest' version

this will change

this will also change
2018-06-26 12:33:51 +02:00
Miljan Aleksic dd9995bf3a add with-vuikit example 2018-04-21 13:19:58 +08:00
Clark Du 3b4955152e
misc: use nuxt-edge in partial examples 2018-04-12 18:25:44 +08:00
Clark Du eff203740d
misc: update vuetify example 2018-04-09 16:23:48 +08:00
Clark Du 9b9c1264c6 fix: with-vuetify error 2018-04-09 16:05:20 +08:00
Clark Du 7a7239d35d
refactor: ava test 2018-04-08 20:16:20 +08:00
Sébastien Chopin 98fd8637ff
Merge pull request #3151 from polyglotm/dev
refactor(examples/with-ava): replace 'nuxt.renderAndGetWindow' -> 'JS…
2018-04-08 13:58:58 +02:00
Quique Fdez Guerra 53a007c27c
Exclude some folders
Fix #3164 thanks to @bigskyrider
2018-04-02 17:56:00 +02:00
JaeyoungLee(polyglot.m) 2fdd70ab3f refactor(examples/index.test.js): refactor lint error 2018-03-29 21:38:38 +09:00
JaeyoungLee(polyglot.m) 2c33641b9f refactor(examples/with-ava): replace 'nuxt.renderAndGetWindow' -> 'JSDOM'
detail:

1. 'beforeAll' no longer support

change to 'test.before'

2. renderAndGetWindow

const window = await nuxt.renderAndGetWindow('http://localhost:4000/')
does not return 'window'.

if url change to real server return window
but test server just return html.

so change to JSDOM way.
2018-03-29 15:38:08 +09:00
Clark Du 919e3e7f80 refactor: remove duplicate loader 2018-03-22 20:30:23 +04:30
Clark Du 55dd9e76e2
refactor: enable lint in storybook 2018-03-21 09:52:08 +08:00
Sébastien Chopin e5a516bfaf
Merge pull request #3044 from dotnetCarpenter/webworker
web worker example
2018-03-19 19:00:50 +01:00
Clark Du 6cd7f04a4e
refactor: rename examples 2018-03-19 10:41:46 +08:00
Pooya Parsa ed22e78a75 basic migration to jest 2018-03-18 23:01:32 +03:30
dotnetCarpenter 1ef0286e9a added missing eslint-plugin-vue - fixes #3045 and CI tests 2018-03-18 01:52:06 +01:00
dotnetCarpenter cd9a6c2c05 web worker example 2018-03-18 01:45:52 +01:00
Pooya Parsa ed5bfacb4d eslint: fix import/order 2018-03-16 23:22:17 +03:30
Pooya Parsa 53e98a958c feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
Clark Du 78aac2df26
deprecate: remove nuxt.plugin 2018-03-15 17:49:14 +08:00
Sébastien Chopin 3b7f23afb6
Merge pull request #2901 from nuxt/feat/webpack4
webpack 4 upgrade
2018-03-14 15:20:57 +01:00
Jakub Kotek b040777ac5
Remove ignored postcss options
Info about ignoring the postcss option when the postcss.config.js file is present.
https://nuxtjs.org/api/configuration-build#postcss
2018-03-13 13:49:38 +01:00
Rick Bolton ece61acbe1 Include components for finding used classes 2018-03-12 13:30:39 +00:00
Pooya Parsa b8f8f18384 optimize webpack 2018-03-12 00:58:56 +03:30
Alexander Lichter fdc6716df4 Whitelist nuxt-progress class for progress bar (#2995)
* Whitelist nuxt-progress class for progress bar

* Fix linting issue
2018-03-12 00:20:39 +08:00
Sébastien Chopin b2044c85ac
Merge pull request #2942 from Ffloriel/with-purgecss
Add example with-purgecss
2018-03-11 12:37:04 +01:00
Ffloriel a2e24e6710 fix lint error 2018-03-11 11:04:44 +00:00
airyland 86473aa17f feat: add vux example 2018-03-09 18:07:47 +08:00
Ffloriel b5e2b585fe with-purgecss
- add example with purgecss and tailwindcss
2018-03-03 23:32:41 +00:00
Clark Du 03f89421c2
fix: i18n lint issue 2018-03-01 21:03:36 +08:00
Philo van Kemenade a694f31117
fetch default locale from i18n.fallbackLocale
Not all projects have 'en' as their default locale. It would be nicer to fetch a default locale from the `fallbackLocale` set on the i18n plugin, rather than hard coding it in middleware.
2018-02-28 22:51:58 +00:00
cinwell.li 6c8fcbdbd7
example: upgrade element-ui 2018-02-28 11:15:13 +08:00
cinwell.li 257f9bb62c
example: upgarde element-ui 2018-02-28 11:12:31 +08:00
cinwell.li 757080e87d
example: upgrade element-ui 2018-02-28 11:11:15 +08:00
Sébastien Chopin d2f14e3e9c
Update nuxt.config.js 2018-02-20 12:56:39 +01:00
Erik Campobadal fc94bce2a6
Update nuxt.config.js 2018-02-19 19:36:45 +01:00
Sébastien Chopin c9598993c5
Update README.md 2018-02-06 13:20:38 +01:00
HG bc4140a46e
updated readme on running storybook with nuxt
detailed description on running storybook with vue
2018-02-06 12:14:28 +00:00
Sébastien Chopin 3806160796 example: Update storybook example 2018-02-06 12:56:28 +01:00
HG 3990498dd3
Update README.md 2018-02-06 09:35:53 +00:00
Huseyn Guliyev da2a9ac569 fix eslint issues 2018-02-06 03:06:45 +00:00
Huseyn Guliyev cdba427776 more cleanup 2018-02-06 02:52:15 +00:00
Huseyn Guliyev 500da0804e cleanup 2018-02-06 02:44:22 +00:00
Huseyn Guliyev b65a0e6e19 initial commit 2018-02-06 02:36:22 +00:00
HG c40f79e3c6
Create README.md 2018-02-05 23:13:37 +00:00
Sébastien Chopin c415a679e4
Merge pull request #2766 from clarkdo/upgrade_axios
example: upgrade axios-module to 5.x
2018-02-05 10:53:12 +01:00
Clark Du 4d973a7d4e
example: upgrade axios-module to 5.x 2018-02-05 17:49:08 +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
Sébastien Chopin bd161130d1 example: Update CSS 2018-01-31 16:47:41 +01:00
Sébastien Chopin e2b0ccc74a example: Rename scroll-behavior example 2018-01-31 16:18:59 +01:00
Sébastien Chopin 3235b037a0
Merge pull request #2633 from homerjam/fix-route-transitions-example
fix route transitions example
2018-01-26 12:23:50 +01:00
Nicolas Pennec ae00499ec5 fix: avoid warning of too big vendor 2018-01-25 09:51:06 +01:00
Clark Du 8b634c210d
feat: add noscript in head 2018-01-23 18:30:36 +08:00
Batuhan KATIRCI 4a3d632b4e Add `generate:page` hook for `with-amp` example for SPA mode (#2670)
* Add `generate:page` hook for `with-amp` example for SPA mode

* Fix linter error
2018-01-23 12:08:38 +08:00
James Homer 8980b37712 improve custom scroll behavior example 2018-01-19 13:07:38 +00:00
James Homer a7ec4367f5 add custom scroll behavior example 2018-01-19 00:15:10 +00:00
James Homer bd7c833115 fix route transitions example 2018-01-19 00:13:18 +00:00
Sébastien Chopin 29768e597a
Update README.md 2018-01-17 09:52:58 +01:00
Sébastien Chopin 1319f9ae15
Update README.md 2018-01-17 09:48:51 +01:00
Sébastien Chopin 4e5959d293 example: Add keep-alive example 2018-01-17 09:46:48 +01:00
Sébastien Chopin cb1a4e9336 example: Add titles 2018-01-17 09:43:11 +01:00
Sébastien Chopin 93f3082c43 example: Add head titles 2018-01-17 09:38:11 +01:00
yoyo837 e5f7001eb5 Something warning about styleResources 2018-01-14 20:08:17 +08:00
Jakub c4c63e0c66 examples: update to vue-chartjs 3.0.0 (#2580)
* chore(dependencies): Update vue-chartjs and chartjs to latest version

* refactor(examples): Update component creation of charts
2018-01-13 22:30:03 +03:30
Sébastien Chopin f0cda98ad7 example: Add Less file to show multi pre-processors 2018-01-08 10:41:30 +01:00
Sébastien Chopin 0d2e2a4833 example: Add warning about pages css 2018-01-05 13:06:47 +01:00
Sébastien Chopin 6b275e3dbd Example: Add AMP example 2018-01-05 12:54:42 +01:00
Sébastien Chopin 36ee372b0b misc: Remove options argument 2018-01-05 09:43:56 +01:00
Sébastien Chopin 910184301a example: Refacto CoffeeScript example 2018-01-05 09:43:35 +01:00
Sébastien Chopin f74457c9c5
Add .coffee extensions for nuxt and webpack 2018-01-05 08:20:32 +01:00
Sébastien Chopin 202a84f203
Merge branch 'dev' into dev 2018-01-05 08:18:17 +01:00
Sébastien Chopin dd83c87f64 example: Lint & fix TS example 2018-01-04 18:08:53 +01:00
Quique Fdez Guerra 44c0ab78a2 Add more realistic TypeScript example 2018-01-02 10:55:22 +01:00
Clark Du a9b54c3f25
fix: jsx example lint issue and use latest nuxt 2017-12-11 18:37:50 +08:00
Clark Du 4b841c7f2c example: add jsx 2017-12-10 01:55:59 +08:00
Clark Du 5f57166feb fix: with-vue-material lint and dependency issue 2017-12-03 16:28:54 +03:30
Ademola Adegbuyi 2f372c9644 Add Vue Material Example 2017-12-03 16:28:54 +03:30
Quique Fdez Guerra d9c89106c6
Fix linting 2017-12-01 13:48:30 +01:00
Quique Fdez Guerra 9d9319ea62
Remove slashes 2017-12-01 13:41:02 +01:00
Quique Fdez Guerra 31257dfe3a
Change name of method link for path 2017-12-01 13:38:45 +01:00
Quique Fdez Guerra 68b0685339
Add path method from i18n (custom) 2017-12-01 13:38:22 +01:00
Quique Fdez Guerra ffecaee7bc
Add link to easy use on templates 2017-12-01 13:33:33 +01:00
Clark Du 0558ae261e fix: vuetify includes es modules 2017-11-28 11:24:51 +03:30
psmelero 82a259139f complet instructions 2017-11-27 10:02:09 +01:00
psmelero 085afb215d Merge remote-tracking branch 'upstream/dev' into dev 2017-11-27 09:55:53 +01:00
psmelero 4ad7a85818 update palette definition to work with vuetify +0.17 2017-11-27 09:47:51 +01:00
Clark Du 653c2f0e3c
refactor: improve markdown example 2017-11-27 11:30:20 +08:00
Clark Du 7fcbd5aa3b
fix: add v-bind:key in all v-for 2017-11-26 21:40:57 +08:00
Dmitri Efimenko e56adee998 Fix style-resources package.json 2017-11-21 03:14:06 +03:00
Dmitri Efimenko f71abff6c6 Fix style-resources example 2017-11-21 03:02:21 +03:00
Dmitri Efimenko 9fb2fdf4f5 build.styleResourcesLoader
https://github.com/yenshih/style-resources-loader
2017-11-21 02:56:14 +03:00
dotnetCarpenter 4f6cd949a1 Better explanation for using tailwind with postcss-import
Manual cherry-pick ad44fae29f
2017-11-13 20:25:42 +01:00
Sébastien Chopin ff70623677
Merge pull request #2035 from clarkdo/with-buefy
feat: add buefy example
2017-11-08 10:00:20 +01:00
Clark Du 231ad4b4dc
feat: add buefy example 2017-11-07 11:22:19 +08:00
Atinux 1f6d89b2e9 example: Update example, and use watchQuery 2017-11-06 18:24:43 +01:00
Atinux 4cfc8f5c49 example: Update defer attribute 2017-11-06 13:33:03 +01:00
Sébastien Chopin ab09ac4ad7
Merge pull request #2029 from clarkdo/dev
refactor: add script in meta example
2017-11-06 10:46:52 +01:00
Sébastien Chopin a7a5aea003
Update comment 2017-11-06 10:43:52 +01:00
Clark Du e7b6fe8b63 feat: add element-ui example 2017-11-06 11:16:45 +08:00
Clark Du bacac23d03
refactor: documentation and adjust example name 2017-11-06 10:30:37 +08:00
Clark Du 7e71de4d6e
refactor: add script in meta example 2017-11-06 10:16:26 +08:00
Atinux 0fb8431ac2 example: Add Tailwind CSS example 2017-11-03 12:32:57 +01:00
Clark Du 3e637c5d83
refactor: add examples to lint 2017-10-31 21:43:55 +08:00
Sébastien Chopin c688fc06d9
Merge pull request #1910 from ooade/add/with-tape
Add with-tape example
2017-10-30 12:33:44 +01:00
Clark Du 147d210c0a
fix: with-feathers not startup with listening 3000 2017-10-30 18:01:23 +08:00
Clark Du c0e9e66eef
fix: with-feathers nuxt.build is not a function 2017-10-30 17:11:55 +08:00
Clark Du 8f14fdfd82
feat: add axios and proxy example 2017-10-29 17:08:42 +08:00
Sébastien Chopin 23e1c3fd06 examples: Use process.server instead of isServer 2017-10-28 17:20:11 +02:00
Sébastien Chopin 70cfc7fcc9 examples: Use process.server instead 2017-10-28 14:09:21 +02:00
Sébastien Chopin 5081789a62 example: Fix pug page 2017-10-28 11:01:23 +02:00
Clark Du 84783a988c
feat: add pug example 2017-10-28 00:38:47 +08:00
Clark Du 1e4c95554a
feat: add markdown example 2017-10-28 00:20:12 +08:00
Clark Du 08e770c1e0
refactor: upgrade nuxt-class-component to a stabe version 2017-10-27 22:15:34 +08:00
Clark Du 1cb1238d8a
refactor: remove vue dependency after nuxt-class-component upgrade 2017-10-25 10:07:29 +08:00
Clark Du 407569480b
refactor: use nuxt-class-component in example 2017-10-23 17:27:30 +08:00
Sébastien Chopin d5837a7c47 Merge pull request #1919 from clarkdo/dev
feat: update nuxt to latest in apollo example
2017-10-23 10:42:08 +02:00
Sébastien Chopin a3b0d3ec33 Merge pull request #1923 from clarkdo/ts_config
feat: fix typescript example
2017-10-23 10:41:43 +02:00
Sébastien Chopin 56c4cd25d9 Merge pull request #1890 from clarkdo/vue-class-component-example
feat: improve vue-class-component example
2017-10-23 10:36:57 +02:00
Clark Du 05d0b7a3cd fix: adjust ts config to fix startup error 2017-10-22 12:49:15 +08:00
Clark Du c0a6ed9ea3 fix: error alias in typescript example 2017-10-22 12:49:15 +08:00
Clark Du 386096a21e feat: update nuxt to latest in typescript example 2017-10-22 12:49:15 +08:00
Clark Du 37c23c33d2
feat: update nuxt to latest in apollo example 2017-10-21 21:05:07 +08:00
Ademola Adegbuyi e711e8e431 Add with-tape example 2017-10-20 13:31:29 +01:00
Clark Du 65136ac550 feat: improve custom-server example 2017-10-20 10:57:28 +03:30
Clark Du 4b6236499c fix: with-firebase example 2017-10-20 10:56:56 +03:30
Clark Du 7cd22a44e7 feat: update with-sockets example 2017-10-20 10:50:22 +03:30
Clark Du 1453a98b5f feat: use latest nuxt in vuex-persistedstate example 2017-10-20 10:50:22 +03:30
Clark Du 161d9b59d2 feat: use latest nuxt in i18n example 2017-10-20 10:50:22 +03:30
Clark Du 725283ebce feat: update dynamic-component example 2017-10-20 10:50:22 +03:30
Clark Du d2a57bc329 feat: update with-ava example 2017-10-20 10:50:22 +03:30
Clark Du dca0bd9a70
fix: error alias in vue-class-component example 2017-10-19 16:57:08 +08:00
Clark Du 2f670c5ef7
feat: improve vue-class-component example 2017-10-19 16:56:00 +08:00
Ademola Adegbuyi 84a7d6d91c Add with muse-ui example 2017-10-17 16:46:53 +01:00
outofcash a461ae83ec CoffeeScript example. 2017-10-13 14:10:24 +02:00
Sebastien Chopin 604dfc95de Link to doc 2017-09-22 15:21:39 +02:00
Sébastien Chopin 47aa3d90c0 Merge branch 'dev' of github.com:Atinux/nuxt.js into dev 2017-09-21 22:42:51 +02:00
Sébastien Chopin 6fd67b68dd fix: Wait for fn to end before pushing next message 2017-09-21 22:42:28 +02:00
Sébastien Chopin 04c8d423d4 Update README.md 2017-09-21 22:36:50 +02:00
Sébastien Chopin 27b80739bc Merge branch 'dev' of github.com:Atinux/nuxt.js into dev 2017-09-21 22:35:48 +02:00
Sébastien Chopin 107f245dcf Add generate script 2017-09-21 22:28:06 +02:00
Sébastien Chopin 2f03a305a2 Update example 2017-09-21 22:27:30 +02:00
Sebastien Chopin adbf0cdc3c Upgrade dependencies 2017-09-14 18:24:21 +02:00
James Homer ad09857234 remove unnecessary plus 2017-09-09 12:19:52 +01:00
James Homer e937937ea1 add layout transitions 2017-09-09 12:19:52 +01:00
Clark Du 1e0c807341 remove condition because dev is always true
Signed-off-by: Clark Du <clark.duxin@gmail.com>
2017-09-08 12:09:11 +08:00
Clark Du 36a553236a fix global declaration in test
Signed-off-by: Clark Du <clark.duxin@gmail.com>
2017-09-08 12:07:08 +08:00
Sebastien Chopin 3cb603f922 Fix i18n example 2017-09-06 15:32:09 +02:00
akameco 36bc6f0c28 Fix typo 2017-09-05 04:25:40 +09:00
Pooya Parsa 2e11827209 spa loading defaults
more design agnostic for general usage
2017-09-01 20:46:08 +04:30
Sebastien Chopin 9d43db475b Fix example 2017-09-01 17:38:16 +02:00
Pooya Parsa 5eeca5a41b add font to global-css example 2017-08-30 18:29:09 +04:30
Mouti'a Benachour 5f60b23198 require bulma in example only 2017-08-30 10:32:03 +01:00
Sebastien Chopin 2fc07a89b1 Update example to use nuxt-apollo 2.0 2017-08-29 13:58:32 +02:00
Sébastien Chopin 42f2a59fd2 Update example to use inject 2017-08-24 20:37:54 +02:00
Sebastien Chopin c9e77337b3 Add with-cookies example 2017-08-24 18:49:26 +02:00
Sebastien Chopin 6f926e39d8 Remove examples lnik 2017-08-24 14:38:58 +02:00
Sebastien Chopin f846fc85ab Add liveedit 2017-08-24 14:38:27 +02:00
Sebastien Chopin 8bf50c2889 Add demo link 2017-08-24 14:36:52 +02:00
Sebastien Chopin d3867a2b70 Add css for dropdown 2017-08-24 14:34:00 +02:00
Sebastien Chopin 7f8f62672d Add UIkit example 2017-08-24 14:28:49 +02:00
Sebastien Chopin 8340779620 Update readme 2017-08-24 14:28:40 +02:00
Sebastien Chopin 222f50e139 Add no-ssr example 2017-08-24 12:38:53 +02:00
Sebastien Chopin cfd8673a54 Add contributors page 2017-08-24 12:16:12 +02:00
Sebastien Chopin e96ef9948e Fix start script 2017-08-24 11:41:42 +02:00
Sebastien Chopin d9ea41e971 Add vue-chartjs example 2017-08-24 11:36:41 +02:00
Sebastien Chopin 4ac14054f2 context: hotReload -> isHMR 2017-08-23 13:41:37 +02:00
Sebastien Chopin ef4cdd4776 Add vuex-persistedstate example 2017-08-22 13:24:23 +02:00
Sebastien Chopin d1a6b2bc80 update meta description 2017-08-21 11:42:17 +02:00
Sebastien Chopin 72cb339d10 Update spa example to use meta tags 2017-08-21 11:38:30 +02:00
Sebastien Chopin 53685b6e4d Show only client 2017-08-18 16:57:32 +02:00
Sebastien Chopin b9c318be6a Add appear transition 2017-08-18 16:46:54 +02:00
Sebastien Chopin 888a9ecbf2 Add spa example 2017-08-18 15:44:43 +02:00
Sebastien Chopin af60ba21c0 Remove JS files for pages & layouts 2017-08-17 15:23:40 +02:00
Sebastien Chopin 646ad35815 Update to use isStatic 2017-08-17 15:11:28 +02:00
Sébastien Chopin 48b5ff3bfc Use js file for a page 2017-08-14 14:29:41 +02:00
Sébastien Chopin eabaab1ad9 code style 2017-08-13 22:19:19 +02:00
Sébastien Chopin 381ef89eb0 code style 2017-08-13 22:11:51 +02:00
Pooya Parsa 6bcfaf8a3a consitent ~/static and ~/assets aliases
closes #1257 #1241
2017-08-04 13:29:42 +04:30
Sebastien Chopin ae4ecabce0 Update vue-apollo 2017-08-03 11:20:05 +02:00
Sebastien Chopin 821f001e73 Update to use nuxt generate 2017-08-03 10:47:19 +02:00
Sebastien Chopin 8682aa2d01 Add animations 2017-08-01 15:54:29 +02:00
Sebastien Chopin 843d21b1ba Merge branch 'dev' of github.com:nuxt/nuxt.js into dev 2017-08-01 14:16:19 +02:00
Sebastien Chopin b8e9c0f8aa Use rc3 2017-08-01 14:16:15 +02:00
Sebastien Chopin 16bd80a095 Add meta tags to example 2017-08-01 14:16:04 +02:00
Sébastien Chopin 8e157c7c0b Update comment 2017-07-30 19:49:12 +02:00
Sébastien Chopin 222c737a1d Merge branch 'dev' of github.com:Atinux/nuxt.js into dev 2017-07-30 16:28:26 +02:00
Sébastien Chopin cb1e6538f2 Update dependency to rc3 2017-07-30 16:28:07 +02:00
Sebastien Chopin 8563c0f05f Update to rc3 2017-07-28 10:40:25 +02:00
Sébastien Chopin d4ff65604e Update README.md 2017-07-27 17:02:54 +02:00
Sebastien Chopin 8c354c085c Remove with-apollo example, see vue-apollo now 2017-07-27 16:56:07 +02:00
Sebastien Chopin 8e79e7ce42 Use nuxt module and rc2 2017-07-27 16:35:17 +02:00
Sebastien Chopin 50355bb234 Update example to use nuxt module for apollo 2017-07-27 16:26:03 +02:00
Sebastien Chopin 2091699e43 Add page for example 2017-07-26 18:19:25 +02:00
Sebastien Chopin 528ba280f8 Add example of programmatic usage 2017-07-26 18:14:34 +02:00
Sébastien Chopin fdc84d2a4a Merge branch 'dev' of github.com:Atinux/nuxt.js into dev 2017-07-12 08:41:47 +02:00
Sebastien Chopin 8ac2f3e6b0 Point to example 2017-07-10 13:52:58 +02:00
Sebastien Chopin 74870baa3e Example ready with Vue 2.4 2017-07-10 13:52:10 +02:00