Commit Graph

32 Commits

Author SHA1 Message Date
Rafał Chłodnicki 9e966a8f3c
chore(examples): use `2.x` version of nuxt instead of latest (#19737) 2023-03-16 06:24:27 -07:00
pooya parsa c15fc421ab
refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +01:00
pooya parsa e7cc2757c3 refactor: update eslint-config to 1.x
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2019-07-10 15:15:49 +04:30
HG c0311bc22f doc: create/update README.mds for examples (#4980)
* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update Readme.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update examples/with-vuikit/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/auth-routes/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/middleware/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/vuex-store-modules/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/with-feathers/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/with-element-ui/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/with-cookies/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/vuex-store/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/vuex-persistedstate/README.md

Co-Authored-By: husayt <husayt@gmail.com>

* Update examples/with-firebase/README.md

Co-Authored-By: husayt <husayt@gmail.com>
2019-02-08 15:48:30 +01:00
Alexander Lichter 47898fbdac chore(examples): rebase on latest stable nuxt version (#4874) 2019-02-01 16:36:06 +03:30
Dmitry Molotkov ee7ad7741e fix(examples): fix deps on codesandbox (#4828)
[skip ci]
2019-01-22 11:04:19 +03:30
Clark Du 52a92fbc48 refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
Pooya Parsa 39b558f59c
refactor core into sub-packages (#4202) 2018-10-31 00:12:53 +03:30
Sébastien Chopin 65432e6aa2
examples: Upgrade to nuxt-edge (#3911) 2018-09-18 18:26:25 +02:00
Jonas Galvez 3f1d634fb7 Consistent parens in arrow functions (#3630)
* Minor consistency enhancements

* Arrow parenthesis consistency

* Change linting rule

* Fix typo

* Update .eslintrc.js to only require parens for blocks

* Update style according to brace-only suggestion

* Remove --fix from lint

* Tweak no-loading time (failing test)

* Tweak no-loading time (failing test) (2)

* Tweak no-loading time (failing test) (3)

* Tweak no-loading time (failing test) (4)

* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
Clark Du 7a7239d35d
refactor: ava test 2018-04-08 20:16:20 +08: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 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
Pooya Parsa ed5bfacb4d eslint: fix import/order 2018-03-16 23:22:17 +03:30
Clark Du 3e637c5d83
refactor: add examples to lint 2017-10-31 21:43:55 +08:00
Clark Du d2a57bc329 feat: update with-ava example 2017-10-20 10:50:22 +03:30
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 488010bf78 Upgrade dependencies and JSDOM API 2017-05-30 16:08:51 +02:00
Sébastien Chopin 8a8ad7e67c Update examples README 2017-01-15 18:51:27 +01:00
Sébastien Chopin c4c3e74e4e Update tests with ava 2016-12-30 12:17:52 +01:00
Sébastien Chopin 37e7a01955 renderAndGetWindow does not need jsdom 2016-12-20 18:05:48 +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 cb3bf4c320 window.onNuxtReady is now a function 2016-11-25 15:36:27 +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 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 8ab135af55 Prototype 0.1.0 working
Alpha 0.1.0
2016-11-07 02:34:58 +01:00