Commit Graph

90 Commits

Author SHA1 Message Date
Sébastien Chopin
a8707469f8 feat: useAsyncData (#142)
* feat: useAsyncData

Resolves #141

* chore: improvements

* chore: fix lint
2021-02-03 19:14:30 +01:00
Sébastien Chopin
b04e212ebc chore: router improvements (#139) 2021-02-02 17:42:48 +01:00
pooya parsa
9be282623c feat: initial support for vite bundler (#127) 2021-01-22 23:02:33 +01:00
Pooya Parsa
9c4a14074c chore: fix lint errors 2021-01-22 22:34:23 +01:00
Pooya Parsa
faabd1ab54 feat: migrate to nitro 2021-01-22 21:57:17 +01:00
Pooya Parsa
c89166f8f9 fix: remove use of html-webpack-plugin
fixes deprecation warnings and we don't need it anyway
2021-01-22 21:57:17 +01:00
Eduardo San Martin Morote
0b31d93892 fix(router): generate empty array (#133)
fix #129
2021-01-22 17:41:31 +01:00
Pooya Parsa
ba0fae74a7 fix: remove NuxtChild refs (#113) 2021-01-22 12:25:13 +01:00
Eduardo San Martin Morote
dc2d17baca refactor: remove nuxt-child (#131) 2021-01-22 11:56:28 +01:00
Pooya Parsa
776e12f362 chore: fix lint issues 2021-01-20 21:02:43 +01:00
Pooya Parsa
a8fc68fec0 chore: remove unused utils 2021-01-20 20:54:13 +01:00
Pooya Parsa
2fe8b62b93 chore: fix lint error 2021-01-20 20:46:19 +01:00
Daniel Roe
3f99bb7878 feat: add support for useHead (#122)
* feat: add support for `useHead`

* chore: use sigma@75

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-01-20 20:17:36 +01:00
Xin Du (Clark)
8e320f80aa fix(build): use last hash file name in client manifest (#123) 2021-01-20 20:04:47 +01:00
Pooya Parsa
3d06693f88 add basic nuxt build 2021-01-20 16:44:52 +01:00
Pooya Parsa
17160c31ed chore: use webpackbar basic reporter for less verbose output 2021-01-20 15:46:07 +01:00
Pooya Parsa
47c738cd9d feat: prepare for npm publish 2021-01-20 15:43:43 +01:00
Pooya Parsa
acc76ed2df chore: remove legacy cli from codebase 2021-01-20 14:29:56 +01:00
Pooya Parsa
588e09cf10 chore: fix sigma import 2021-01-20 13:40:17 +01:00
Pooya Parsa
454b8c332c refactor: move app to src with nuxt/app import
this refactor allows distributing app with esm modules instead of ts
2021-01-18 13:46:19 +01:00
Eduardo San Martin Morote
a6f9fb4c7a feat: initial work for pages routing (#113)
* feat: initial work for routing

Co-Authored-By: Eduardo San Martin Morote <posva@users.noreply.github.com>

* test: test for page builder

* test: add tests for names

* feat(routes): stringify routes

* feat(routes): support multiple slugs

* feat(routes): encode paths

* test: remove nuxt test utils

* refactor: app.template.*

* chore: fix lint errors

* simplify and fix jest/test

* refactor: move hook todo to app.ts (since pages/ might be optional)

* add todo for __file exposing

Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-01-18 13:22:38 +01:00
pooya parsa
0091dba181 feat: use sigma (#95) 2021-01-18 12:49:50 +01:00
Pooya Parsa
f4975dfd09 fix nuxt dev 2020-11-24 12:06:05 +01:00
Daniel Roe
99129216ee chore: upgrade deps (#91)
* chore: upgrade deps

* fix: lint errors
2020-11-16 09:33:33 +01:00
pooya parsa
ae32ca42fa fix(webpack): use modern target for esbuild 2020-10-30 12:55:17 +01:00
pooya parsa
8a1cb84518 fix(builder): empty dir before generate 2020-10-29 21:10:16 +01:00
pooya parsa
0b18f77746 chore: update @vue/server-renderer to 0.2.1 2020-10-29 21:06:30 +01:00
pooya parsa
8718bf32e3 chore: drop eventsource-polyfill for IE support 2020-10-29 18:35:14 +01:00
pooya parsa
08e0f71946 chore: fix lint/ts errors 2020-10-29 18:32:53 +01:00
pooya parsa
c0e565cbe7 feat: use express instead of connect
requirement of webpack-dev-middleware too
2020-10-29 18:30:00 +01:00
pooya parsa
ade89f1067 chore: update to vue-bundle-renderer 0.1.x 2020-10-29 18:29:32 +01:00
pooya parsa
463e1d2bb4 chore: update webpack-dev-middleware 2020-10-29 18:05:29 +01:00
pooya parsa
2e17133615 chore: fix eslint/ts errors 2020-10-29 17:36:15 +01:00
Daniel Roe
d7f82cc6b0 chore: use dart-sass (#69)
https://sass-lang.com/dart-sass
2020-10-19 12:29:52 +02:00
Sébastien Chopin
09476134ee feat: support document.html 2020-10-01 12:11:20 +02:00
Xin Du (Clark)
20c2375e74 fix(webpack): DeprecationWarning DEP_WEBPACK_COMPILATION_ASSETS (#57) 2020-09-30 14:03:13 +02:00
pooya parsa
5a7f5164f0 feat: improve app, fetch and support vuex5
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2020-09-25 18:31:25 +02:00
pooya parsa
ba32279d04 Merge branch '3.x' into feat/pages 2020-09-21 15:33:52 +02:00
pooya parsa
065ce5598f set vue feature flags 2020-09-21 15:26:48 +02:00
Pooya Parsa
f24b9fa45a Merge branch '3.x' into feat/pages 2020-09-21 11:44:45 +02:00
Xin Du (Clark)
232d3298b4 feat(style): add style loaders (#50)
* feat(style): add style loaders

* refactor: merge utils/style-loader to style preset

* refactor style.ts

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2020-09-21 11:37:13 +02:00
Xin Du (Clark)
db050fd0a2 fix(ssr): update ssr/client manifect after webpack v5 beta.30 (#48) 2020-09-21 10:48:33 +02:00
Sébastien Chopin
d273f803be chore: start using dynamic routes 2020-09-15 18:43:12 +02:00
pooya parsa
a9f3ccf099 Merge branch '3.x' into feat/pages 2020-09-10 16:16:21 +02:00
pooya parsa
7309ef303a fix: remove runtimeChunk options (HMR push of undefined error) 2020-09-10 16:16:09 +02:00
pooya parsa
f7ab29324a Merge branch '3.x' into feat/pages 2020-09-02 14:29:11 +02:00
pooya parsa
d6ed1dfc2c feat: rewrite webpack config (#30) 2020-09-02 14:27:27 +02:00
Sébastien Chopin
e87d0613b3 Merge branch '3.x' into feat/pages 2020-09-02 14:23:34 +02:00
Clark Du
dab1a831a6 fix(build): style not work in vue 2020-08-19 18:34:48 +00:00
Clark Du
2ee86286ad feat(webpack): replace optimize-css-assets-webpack-plugin with css-minimizer-webpack-plugin 2020-08-19 18:33:07 +00:00