Commit Graph

602 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
Daniel Roe 31a9bc2d18 feat: add support for Azure static web apps (#92) 2021-02-01 09:24:49 +00:00
Daniel Roe 97efab4270 fix: check for server webpack config (#91) 2021-01-30 22:05:40 +00:00
Xin Du (Clark) 5aa31613bd fix(config): always disasble server sourceMap (#88) 2021-01-24 22:12:07 +01:00
Xin Du (Clark) 1b142148eb fix(compat): disable webpack sourcemap (#84) 2021-01-24 21:30:20 +01:00
Xin Du (Clark) 67a82a7ab9 fix(compat): cannot read property setLegacyMiddleware of undefined (#82) 2021-01-24 20:18:20 +01:00
Xin Du (Clark) 2d0ff10892 fix(rollup): dirnames not generate a sourcemap for the transformation (#83) 2021-01-24 20:16:39 +01:00
Pooya Parsa 694a6b5635 fix(vite): include deps from nuxt3 package 2021-01-22 23:32:02 +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
Pooya Parsa fff38618fe chore: allow passing listhen options 2021-01-22 21:32:29 +01:00
Pooya Parsa 5248905dd7 refactor: rebrand to nitro 2021-01-22 20:55:59 +01:00
Pooya Parsa 41951c8862 refactor: move nuxt2 plugin to compat 2021-01-22 20:53:40 +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 d94aec4841 fix: fix _interopDefault implementation 2021-01-21 15:49:34 +01:00
Pooya Parsa 4f09b514f1 fix: _interopDefault potential cjs files 2021-01-21 15:46:05 +01:00
Pooya Parsa 0b886cf57f feat: serve-placeholder 2021-01-21 14:21:33 +01:00
Pooya Parsa a6936ff8c6 fix: default value for template path 2021-01-21 14:07:48 +01:00
Xin Du (Clark) 0ebab89014 update getSigmaContext name (#73) 2021-01-21 01:58:43 +01:00
Xin Du (Clark) f4e15196b2 fix error message in rollup and server (#72) 2021-01-20 23:09:22 +01:00
Xin Du (Clark) 2186d953d0 fix: update documentPath with updated buildDir (#70) 2021-01-20 23:08:54 +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
Pooya Parsa 6e9be0eece feat: support ssrContext.head
Co-Authored-By: Daniel Roe <daniel@roe.dev>
2021-01-20 20:13:28 +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 387fa4a278 fix: 404 handling for static assets 2021-01-20 16:42:42 +01:00
Pooya Parsa fd0be27f0c fix: static asset handling with leading slash 2021-01-20 16:00:14 +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 cc4a32c024 chore: hide generated logs 2021-01-20 15:37:21 +01:00
Pooya Parsa 0675191cba fix: disable external tracing for local preset 2021-01-20 15:34:00 +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 fa5d0e04f9 chore: fix runtime typescript errors 2021-01-18 12:47:25 +01:00
Pooya Parsa 9e9b20ef90 fix: bring back nuxt3 support 2021-01-18 12:42:00 +01:00
Pooya Parsa b07a4a5c8d refactor: move runtime to src (typescript) 2021-01-18 11:57:38 +01:00
Pooya Parsa 19e6542d27 feat: enable externals.trace by default 2021-01-12 16:58:05 +01:00
Sébastien Chopin 8a8840c970 chore: typo 2021-01-11 19:02:11 +01:00
Pooya Parsa 7e682ed663 feat: better error handler 2020-12-12 19:15:56 +01:00