Commit Graph

576 Commits

Author SHA1 Message Date
pooya parsa
a575a873b0 chore(with-vuetify): fix lint issue 2020-07-27 17:56:47 +02:00
Ahad Birang
c2c6923ee4
examples(vuetify): use@nuxtjs/vuetify module (#7767) 2020-07-26 17:57:31 +02:00
Ben Read
86f69e4429
examples(with-sockets): deprecated callback and use cjs (#7650) 2020-07-02 10:59:17 +02:00
Kawacrepe
05fe682f1d
examples(with-vuetify): use v-main instead of v-content (#7638)
Since vuetify 2.3 `v-content` became `v-main`
2020-06-30 20:25:56 +02:00
xingo xu
7fa5fb0a58
examples(with-buefy): update github icon name (#7381) 2020-05-18 12:22:58 +02:00
Clark Du
498f408d9a chore(deps): update devdependency eslint to v7 2020-05-11 09:21:54 +01:00
Sébastien Chopin
917adc0618
feat: options.target and full-static export (#6159)
* feat: add options.target

* fix(lint): lint

* fix(test): update snapshots

* fix(builder): default value for target

* fix(test): fix test

* fix(test): test fixing

* fix: use this.options.target

* fix: final test

* Update packages/vue-renderer/src/renderer.js

Co-Authored-By: Alexander Lichter <manniL@gmx.net>

* feat: Add target option and update banner

* fix(lint): fix

* feat: Add warning when using serverMiddleware in static target

* chore(utils): add TARGETS and MODES as constants

* hotfix: lint

* chore(module): add filename as alias of fileName

* feat: introducing nuxt export and router/routes.json

* hotfix: Fix the linting lord

* chore(core): add comment for filename vs fileName

* fix: use targets constant

* chore: remove warning

* fix: unit testing

* wip: refactor and use TARGETS

* fix: lint

* feat: add target as alias for first arg value

* fix: generate only for SPA

* chore: explain to use nuxt static X

* fix: render SPA fallback on redirect for static target

* fix: lint issue

* fix: only target is useful for now

* wip

* wip: nuxt static export is looking good

* Update packages/generator/src/generator.js

Co-Authored-By: Devon Rueckner <indirectlylit@users.noreply.github.com>

* Update packages/cli/src/options/common.js

Co-Authored-By: Alexander Lichter <manniL@gmx.net>

* feat: add options.target

* fix(lint): lint

* fix(test): update snapshots

* fix(builder): default value for target

* fix(test): fix test

* fix(test): test fixing

* fix: use this.options.target

* fix: final test

* Update packages/vue-renderer/src/renderer.js

Co-Authored-By: Alexander Lichter <manniL@gmx.net>

* feat: Add target option and update banner

* fix(lint): fix

* feat: Add warning when using serverMiddleware in static target

* chore(utils): add TARGETS and MODES as constants

* hotfix: lint

* chore(module): add filename as alias of fileName

* feat: introducing nuxt export and router/routes.json

* hotfix: Fix the linting lord

* chore(core): add comment for filename vs fileName

* fix: use targets constant

* chore: remove warning

* fix: unit testing

* wip: refactor and use TARGETS

* fix: lint

* feat: add target as alias for first arg value

* chore: explain to use nuxt static X

* fix: render SPA fallback on redirect for static target

* fix: lint issue

* fix: only target is useful for now

* wip

* wip: nuxt static export is looking good

* Update packages/generator/src/generator.js

Co-Authored-By: Devon Rueckner <indirectlylit@users.noreply.github.com>

* Update packages/cli/src/options/common.js

Co-Authored-By: Alexander Lichter <manniL@gmx.net>

* fix: duplicate imports

* chore: don't server render if an error happens on static target

* test: update unit and add export

* lint: fix

* lint: fix

* fix: e2e test

* fix: fallback only for static target

* fix: dev test

* feat: add generate.crawler

* fix: full static is when generate.static is given

* chore: improvements

* fix: Add isFullStatic in nuxt/config.json

* feat: handle fetch for full static

* feat: router.prefetchPayloads for full static

* chore: use fetch in async-data example

* fix: add target only if given

* fix: use created to have access to props in fetchOnServer

* chore: add console.error in dev for easy debugging

* feat: payload smart pre-fetching

* fix: remove alias for target

* fix: increment payloadFetchIndex is static set to false

* chore: lint

* chore: add serve command

* chore: rename universal to server-side

* fix: handle payloadPath on SPA fallback

* fix: lint

* chore lint again

* feat: handle spa fallback

* feat: support string for exclude

* fix: fallback only if no extension or html

* chore: use JSON.stringify() for static target

* chore: lint again, dammit

* chore: fix tests and remove too early return

* fix: early return only for server target

* fix: update tests

* fix: unit tests

* chore: add ssr option

* chore: add logic for ssr option

* fix: #6682

* chore(dx): add next command to run

* fix: lint

* fix: tests

* chore: keep old behaviour for nuxt build in spa

* fix: test again, oh boy

* fix: alright this is good now

* chore: add comment for spa fallback

* chore: move routes.json to dot nuxt dir

* chore: simplify check for promise

* chore: unique lock id

* chore: refactor isFullStatic

* fix: dont set default in build context

* chore: add test for serve

* chore: update tests

* hotfix: lint tests

* chore(dx): improve message for bundling

* feat: js payload extraction with jsonp

* fix: keep serialized session script for legacy generate

* fix: call to setPagePayload from fetchPayload

* use devalue for payload chunks

* feat: add initial load state chunk

* feat: preload payload and state scripts

* fix(vue-app): don't re-render the app if trailing slash on SSG

* hotfix: remove console.log

* chore(dx): add deploy infos for nuxt export

Co-authored-by: Pooya Parsa <pyapar@gmail.com>

* chore: handle fetching payload.js for nuxt state

* chore(dx): error when using nuxt generate and static

* chore: remove static option for clarity

* chore: remove serverless target

* hotfix: lint

* hotfix: unit tests

* chore: update legacy js resource

* chore: remove query params from url in static target

* fix: use globalName and urlJoin

* chore: typo

* feat: previewMode 👀

* chore: rename to enablePreview

* fix: wait next tick to avoid error on spa

* chore: try 1 sec

* hotfix: test only for linux, wtf azure

* refactor: static assets

- generalize logic for modules need emit export static assets
- allow customization for version, dir and base
- serialization logic is only in ssr now

* feat: smart state chunk creates

* fix(client): ignore payload load error

* perf: avoide payload loading for spa initial

* perf: avoid loading failed chunks again

* chore(cli): add simple compression for nuxt serve

* test: update snapshots

* fix version snapshot

* fix(generator): set staticAssetsBase on context only for full static

* fix tests

* fix: honor shouldHashCspScriptSrc

* chore(dx): add log for client-side fallback creation

Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
Co-authored-by: Alexander Lichter <manniL@gmx.net>
Co-authored-by: Pooya Parsa <pooya@pi0.ir>
Co-authored-by: Devon Rueckner <indirectlylit@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2020-05-07 21:08:01 +02:00
Xin Du (Clark)
f1d832018a
chore(test): upgrade vue test utils to v1 (#7321) 2020-05-07 09:07:21 +01:00
Sébastien Chopin
73541a576d
chore(example): Update vue-chartjs (#7211)
* chore(example): Update vue-chartjs

* add: live demo and CSB link

* fix: lint
2020-04-13 20:41:34 +02:00
Adam
deffd1f4d3
fix(examples): avoid warning with legacy postcss.config.js (#7098)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2020-03-24 10:00:39 +01:00
Sand Of Vega
71abcb8005
examples(cached-components): remove non-existing link (#6997) 2020-02-24 23:49:19 +01:00
Sébastien Chopin
6db325c321
feat(vue-app): new fetch syntax (#6880) 2020-02-04 19:36:22 +01:00
Pooya Parsa
2707bdb37e
feat: improve programatic usage (#6868) 2020-01-19 09:36:06 +01:00
Xin Du (Clark)
e8aca9eb11 chore: update @nuxtjs/eslint-config to v2 and fix lint errors (#6732) 2019-11-26 23:42:39 +01:00
Ahad Birang
bb9427ee74 feat(vue-renderer): support evaluation in templates (#6505) 2019-11-24 13:31:21 +01:00
Vanessa A
9540b5ad46 chore: fix typo in middleware readme (#6686) 2019-11-12 10:42:54 +00:00
Daniel Roe
4f0aa74ef2 perf(webpack): prefer using contenthash (#6632) 2019-10-29 19:06:14 +01:00
Clark Du
99aba8725b chore: lint error 2019-10-18 16:45:51 +01:00
Stephan Besser
b8e1a7170d examples(with-sockets): fix cannot read property 'app' of undefined on nuxt build (#6586) 2019-10-18 11:40:38 +02:00
radimhornicek
0e0149d821 examples(with-sockets): create server inside export function (#6396) 2019-09-11 11:17:13 +02:00
Pim
174c13d56c feat(vue-app): support configurable features (#6287) 2019-09-05 17:15:27 +02:00
Artyom Bogomolov
a6d60d10da examples(coffeescript): update module (#6248) 2019-08-20 15:40:00 +04:30
Kevin Marrec
81b5ce22ce feat: externalize typescript support (#5858) 2019-07-24 11:56:44 +04:30
Clark Du
e448e3c9de chore: remove duplicate eslint deps with @nuxtjs/eslint-config 2019-07-18 19:43:14 +01:00
Clark Du
988048bc7a
chore(deps): update devdependency eslint-config-standard to v13 2019-07-15 19:30:14 +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
Clark Du
1dd3f62101
chore: remove unused lint rule 2019-06-25 11:10:18 +01:00
Clark Du
445584f738
chore: fix lint issue 2019-06-25 11:01:58 +01:00
Clark Du
d009bdeb17
chore: not match non-alphabetical characters 2019-06-25 10:52:13 +01:00
Clark Du
1a435ad32b chore(example): use !== 2019-06-25 10:45:38 +01:00
Xin Du (Clark)
3195f34531 feat: upgrade css-loader to v3 (#5929) 2019-06-15 14:43:05 +04:30
pooya parsa
6d32ad2cf7 examples: bump axios to ^0.19.0 2019-05-30 20:58:19 +04:30
Clark Du
74e592059d chore(lint): remove unncessary lint comment 2019-05-28 13:38:18 +01:00
Clark Du
9ae23f7a23 chore: remove unused dependency cross-env 2019-05-24 12:31:55 +01:00
Xin Du (Clark)
21aaef3b48 feat(vue-renderer): support render.ssrLog for controlling SSR logs (#5784) 2019-05-23 14:19:16 +04:30
Alexandre David
0e48eb634b examples(auth-jwt): use named store export to prevent warning (#5775) 2019-05-21 22:26:37 +04:30
Kevin Marrec
ab0b035d8d examples(typescript): add missing ts-node dependency (#5742) 2019-05-15 14:11:25 +04:30
Kohei Ota
852cca9218 fix(examples): fix Dockerfile casing (#5705) 2019-05-12 11:03:35 +04:30
Christian Lehr
86c7fe8841 examples: fix typo (#5651) 2019-05-03 20:55:50 +04:30
Sébastien Chopin
01acf66c67 feat(vue-app): rename transition to pageTransition and deprecate it (#5558) 2019-04-20 14:31:59 +04:30
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