Commit Graph

536 Commits

Author SHA1 Message Date
Dmitry Molotkov
952e7cde9c examples: fix plugins-vendor example (#5527) 2019-04-13 17:18:05 +04:30
pooya parsa
02f0a7bfaf add vue-apollo dependencies
This reverts commit eb5cb4017f.
2019-04-02 17:46:01 +04:30
Utkarsh Gupta
3eec1152f4 examples: add docker example (#5430) 2019-04-01 02:36:28 +04:30
Xin Du (Clark)
159123feea feat(babel-preset-app): support specifying core-js version (#5411) 2019-03-30 23:53:17 +04:30
Kevin Marrec
9a3fc8a44e refactor(ts): only generate tsconfig.json if missing (#5356) (#5367)
Co-authored-by: SAWADA Takayoshi <sawadasuiren@gmail.com>
2019-03-29 18:30:49 +04:30
pooya parsa
e5369db2d5 fix lint error 2019-03-25 00:45:28 +04:30
pooya parsa
eb5cb4017f update examples/vue-apollo 2019-03-24 16:33:02 +04:30
Dmitry Molotkov
95f2a125cf examples(vue-apollo): update to @nuxtjs/apollo 4.x (#5345) 2019-03-23 11:25:22 +04:30
Dmitry Molotkov
ce66a8cbee examples(with-buefy): update example (#5348) 2019-03-23 11:21:32 +04:30
Dmitry Molotkov
10812e3082 examples(with-element-ui): fix package scripts (#5349) 2019-03-23 11:20:33 +04:30
Romain Lanz
7100a2c6bc examples: upgrade and fix typescript configuration files (#5310) 2019-03-21 23:21:56 +03:30
Dmitry Molotkov
d9db45c287 chore(examples): fix dynamic components example (#5294) 2019-03-20 20:20:23 +03:30
Kevin Marrec
920f444b6e refactor(ts): better DX for typescript support (#5079)
Breaking change : `build.useForkTsChecker` renamed to `build.typescript.typeCheck`
2019-03-14 13:37:47 +03:30
Paul Geisler
320a46fe26 examples(pug): fix example by adding plain-pug-loader (#5223) 2019-03-13 14:04:39 +03:30
Dmitry Molotkov
1c3761a6cc chore(examples): fix jest test dependencies (#5155) 2019-03-04 21:07:04 +00:00
Kevin Marrec
92f81e01e7 feat(ts): nuxt configuration typedefs (#4854) 2019-03-04 10:18:40 +03:30
chiboreache
6d059698a9 chore: add pug-stylus-coffee (#4927)
* add pug-stylus-coffee

* fix eslit

* fix eslint

* fix eslint #3
2019-02-19 17:07:04 +01:00
Alexander Lichter
a9511e58b2 examples: improve vuex store example (#5017) 2019-02-19 09:35:51 +00:00
Sergey Vikulov
1fb44d944c fix: trailing comma in tsconfig (#5061) 2019-02-19 09:11:11 +00:00
Clark Du
b9391d7ea0 chore: fix eslint warning 2019-02-18 10:44:03 +00:00
Pim
06f4762e47 chore(examples): fix links to vue-meta repo (#5018) 2019-02-12 16:31:27 +00:00
Xin Du (Clark)
90ba0cd6b7
feat: upgrade to jest 24 (#4868) 2019-02-12 13:05:37 +00:00
Andrew Cravenho
dfc8dd579b example(jest-puppeteer): fix package .json (#4997) 2019-02-10 23:29:26 +03: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
Dmytro
1fb9af33a3 chore(examples): zero-downtime pm2 typescript example (#4907) 2019-02-01 16:37:55 +03:30
Alexander Lichter
47898fbdac chore(examples): rebase on latest stable nuxt version (#4874) 2019-02-01 16:36:06 +03:30
Alexander Lichter
be41ae1c2f example(vuex-store): change to module store (#4923) 2019-02-01 16:32:41 +03:30
andoshin11
5101dc6aae chore(examples): add tsx example (#4855) 2019-01-29 22:51:49 +03:30
Alexander Lichter
fc14da4aee examples(coffeescript): fix script (#4865)
[skip ci]
2019-01-28 20:41:54 +03:30
Kevin Marrec
55dc7f4475 fix(ts): keep baseUrl property in generated tsconfig.json (#4843) 2019-01-24 14:14:02 +03:30
Kevin Marrec
c39cf841a3 fix(ts): fix default tsconfig.json (#4842)
[release]
2019-01-24 01:11:00 +03:30
Kevin Marrec
2a1ee96a4b feat(ts): auto generate tsconfig.json (#4776)
* Bundle `@types/node` into `nuxt-ts` distribution

* feat(ts): Autogenerated tsconfig.json

* fix(examples): Update typescript examples

* fix(ts): Add `dist` & `tsconfig.json` to `pakage.json` files

* fix: add missing new line at the end of generated `tsconfig.json`

* add suffix if needed to `tsconfig.json` types during package build

* use `readJSON` over `readJSONSync`

* fix indentation in `nuxt-ts/tsconfig.json`

* use writeJson instead of writeFile

* split `nuxt-ts/src` in 2 functions + rootDir parametr + add tests

* add `fs-extra` to dependencies to prevent build warning

* JSON everywhere instead of JSON/Json

* fix: missing call to generateTsConfigIfMissing

* ask confirmation for tsconfig.json generation

* improvement: let compilerOptions.module as default

* improvements

* move from github link to friendly linkable local path

* add resolveJsonModule in default config

Co-Authored-By: kevinmarrec <kevin@marrec.io>

* Move `nuxt-ts` logic to `@nuxt/typescript`

* Upgrade to `ts-node@8.0.1`
2019-01-23 10:53:52 +01:00
Dmitry Molotkov
ee7ad7741e fix(examples): fix deps on codesandbox (#4828)
[skip ci]
2019-01-22 11:04:19 +03:30
Alexander Lichter
4b321441e5 fix(examples): add pug dependencies (#4824)
[skip ci]
2019-01-21 23:21:20 +03:30
Dmitry Molotkov
6542dffa97 fix(examples): deps [skip ci] (#4827) 2019-01-21 19:01:34 +00:00
Eduardo San Martin Morote
c83bcb046a fix(examples): use testURL and module names (#4777) 2019-01-18 01:15:17 +03:30
Alexander Lichter
f70610b794 fix(examples): deps [skip ci] (#4782) 2019-01-17 10:01:15 +00:00
Kevin Marrec
73507b80b0 fix(examples): Ugrade vue-property-decorator in typescript examples (#4767) 2019-01-16 14:46:59 +03:30
Sébastien Chopin
1b84fa84e1
Update README.md 2019-01-14 15:55:45 +01:00
Xin Du (Clark)
ef05e005a6 refactor: add module not found fatal message in cli/imports (#4741) 2019-01-12 23:51:43 +03:30
Kevin Marrec
dfaffc0183 feat(nuxt-ts): typescript support improvements (#4750) 2019-01-12 23:51:21 +03:30
EGOIST
38e2ddf7fe chore: add styled-vue example (#4712) 2019-01-08 16:32:51 +00:00
Clark Du
ccf326488c fix(example): lint error 2019-01-07 16:44:14 +00:00
Sébastien Chopin
3b7ac3c5c5 fix(examples): Update config for better mobile handling 2019-01-07 17:34:18 +01:00
Kevin Marrec
b38e0aac43 feat(ts): typescript examples + improve vue-app typings (#4695) 2019-01-06 12:37:17 +03:30
Alexander Lichter
c4b5b51fbe chore(examples): improve nuxt-prefetch pkg.json (#4653) 2018-12-30 01:04:25 +03:30
Sébastien Chopin
f319033928
feat(nuxt-link): Smart prefetching and $nuxt.isOffline (#4574)
* feat(nuxt-link): Improve <n-link> and add automatic prefetch

* Update packages/vue-app/template/components/nuxt-link.js

Co-Authored-By: Atinux <seb@orion.sh>

* add missing space

* feat(nuxt-link): Split in two components for smaller bundle

* fix(vue-app): Use requestIdleCallback

* chore(vue-app): Improve nuxt prefetch strategy for nuxt links

* chore(vue-app): Add .isOnline and handle it for prefetch

* chore(vue-app): Add .isOffline and use it

* chore(vue-app): Add .isOffline

* chore(server): Check is options.modern is given in dev mode

* chore(vue-app): Add intersection-observer polyfill if router.prefetchLinks is 'polyfill'

* chore(vue-app): Remove polyfill

* chore(vue-app): Use only process.client

* chore(vue-app): Add TS typings for .isOnline and isOffline

* chore(vue-app): Update typings by @kevinmarrec

* chore(vue-app): Reorder names

* examples(nuxt-prefetch): Add Nuxt prefetching example

* chore(vue-app): Add router.linkPrefetchedClass

* lint(vue-app): Fix lint

* chore(vue-app): Use intersectionRatio, recommend by @maoberlehner

* fix(lint): Fix linting issues

* lint(vue-app): Fix again (lol)

* types(vue-app): Update TS typings

* chore(vue-app): Update Vetur tags description

* fix(vue-app): Use prefetchClass

* chore(vue-app): Disable linkPrefetchedClass by default
2018-12-28 17:27:03 +01:00
Andrey Shertsinger
b1b9e0bcbc feat(vue-app): support named views (#4410)
* support named views for extendRoutes config

* fix lint errors

* fix lint errors 2

* some refactoring

* var rename

* fixture & unit tests

* fix: style

* nuxt-child named view example and test

* nuxt element with named view in layout

* lint
2018-12-20 16:50:22 +01:00
Clark Du
6a4808f576 fix(eslint): amp tags not support pascal case
[skip release]
2018-12-20 13:49:16 +00:00
Ricardo Gobbo de Souza
6315bd71f3 fix: nested-components example (#4535)
[skip ci]
2018-12-13 22:09:16 +03:30