Commit Graph

227 Commits

Author SHA1 Message Date
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
Sébastien Chopin
ca8d465073 chore: handle app.vue fallback 2020-08-19 17:28:04 +02:00
pooya parsa
5b2f0fa191 refactor: createApp 2020-08-19 15:11:52 +02:00
pooya parsa
e6a5037aa2 remove extra srcDir 2020-08-19 15:07:54 +02:00
pooya parsa
929dfdc121 refactor: simplify nuxt app interface 2020-08-19 15:06:27 +02:00
Sébastien Chopin
978a997159 chore: improve resolve app options 2020-08-19 14:38:18 +02:00
Xin Du (Clark)
f6355ca65d refactor(builder): remove buildContext (#25) 2020-08-18 22:33:58 +02:00
Clark Du
d1718230ed fix(renderer): missing nomodule on legacy modules 2020-08-18 20:25:13 +01:00
pooya parsa
349fb37bda refactor(builder): split pages logic 2020-08-18 20:34:08 +02:00
Sébastien Chopin
d14d695190 chore: start parsing pages 2020-08-18 19:08:06 +02:00
Sébastien Chopin
e892f5f019 chore: improve watcher and change ignorePrefix 2020-08-18 14:27:51 +02:00
Clark Du
c63091b68d chore: fix all eslint error and warnings 2020-08-17 20:12:34 +01:00
Clark Du
052364c689 chore: fix lint errors 2020-08-17 19:45:32 +01:00
Clark Du
1aa47b5edf chore: fix type for vue/server 2020-08-17 19:44:24 +01:00
Clark Du
8936fe77eb fix(webpack5): plugins/vue/server DeprecationWarning 2020-08-17 19:34:47 +01:00
Sébastien Chopin
dc84429d67 chore: wip 2020-08-17 20:02:10 +02:00
Sébastien Chopin
daaa8eda8c fix: import Builder not as default 2020-08-17 17:54:44 +02:00
pooya parsa
2c91d39fd8 initial builder refactor
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2020-08-17 17:25:06 +02:00
Xin Du (Clark)
e266992fac chore(ts): fix types in server (#18)
* chore(ts): fix types in server

* fix serviceConfig
2020-08-17 11:13:46 +02:00
Xin Du (Clark)
b82d75d883 chore(ts): fix types in renderer (#16) 2020-08-12 12:00:47 +02:00
pooya parsa
d6ae2c73d9 chore: lint with eslint 2020-08-04 12:26:22 +02:00
pooya parsa
8ac0a7cec6 Merge branch '3.x' into config-types 2020-08-04 12:19:42 +02:00
pooya parsa
60ce35f3b2 fix server.ts 2020-08-04 12:14:46 +02:00
pooya parsa
36db8c7759 merge leftovers 2020-08-04 12:10:38 +02:00
pooya parsa
b06346d0df Merge branch '3.x' of github.com:nuxt/nuxt3 into 3.x 2020-08-04 12:10:28 +02:00
pooya parsa
cdc42133c7 refactor structure and fix ts errors 2020-08-04 12:06:44 +02:00
Daniel Roe
ecd80c40c4 style: lint 2020-08-02 16:56:24 +01:00
Daniel Roe
212283837b feat: improve typing of config 2020-08-02 16:50:35 +01:00
Daniel Roe
e75e1911af types: increase types coverage (#13) 2020-07-31 11:37:31 +02:00
Daniel Roe
c1188eebd5 style: lint 2020-07-31 07:52:44 +01:00
Daniel Roe
38e72f86c2 feat: typed nuxt (1) 2020-07-31 00:40:16 +01:00
Daniel Roe
a74b48c648 feat: add vue-app types (#12)
* feat: preliminary vue-app types

* style: fix various lint issues

* style: further fixing (not caught by eslint)

* chore: add alias for nuxt-app

Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-07-30 13:36:25 +02:00
Daniel Roe
82cd23e6da style: further fixing (not caught by eslint) 2020-07-30 00:50:30 +01:00
Daniel Roe
fc0d1872e9 style: fix various lint issues 2020-07-30 00:48:20 +01:00
Daniel Roe
426cf1b3de feat: preliminary vue-app types 2020-07-30 00:45:48 +01:00
pooya parsa
e7dd27fa2a feat: rollup build, basic typescript support and typescript app 2020-07-17 17:13:04 +02:00
pooya parsa
00e13c3e41 fix: RouterLink import 2020-07-16 11:40:48 +02:00
Xin Du (Clark)
fd0a437adc Add src path alais to be nuxt (#2) 2020-07-15 12:38:37 +02:00
pooya parsa
14f187e69b initial commit 2020-07-02 15:02:35 +02:00