Commit Graph

369 Commits

Author SHA1 Message Date
shuilan.cj dd70d6f7c8 refactor: server context to request context 2022-03-23 14:51:17 +08:00
shuilan.cj d352ac8e6d refactor: root -> main 2022-03-23 14:48:02 +08:00
shuilan.cj 65563679df refactor: use first compile tag 2022-03-23 14:45:13 +08:00
shuilan.cj 6618f90f02 fix: conflict 2022-03-23 14:36:44 +08:00
shuilan.cj 0bfadb8b32 fix: conflict 2022-03-23 14:35:46 +08:00
shuilan.cj 31809d5656 chore: add comment 2022-03-23 14:34:32 +08:00
shuilan.cj 15ef89b49f fix: type 2022-03-23 14:31:44 +08:00
shuilan.cj 5a5cb6ca94 fix: enable build test 2022-03-23 14:22:08 +08:00
shuilan.cj 7692a87265 fix: enable build test 2022-03-23 14:01:55 +08:00
shuilan.cj aeb9654be9 fix: conflict 2022-03-23 13:49:14 +08:00
shuilan.cj 8d10704165 fix: lint 2022-03-23 10:50:14 +08:00
shuilan.cj 4b195701ae feat: assets manifest 2022-03-23 10:49:30 +08:00
luhc228 688f969329
feat: await chunk import in CSR (#35)
* chore: remove this is undefined in esm warning

* chore: remove plugin-router

* feat: merge render

* feat: merge defaultAppConfig

* feat: support redirect without lazy

* fix: redirect error

* fix: ssr render error

* feat: add transition file

* refactor: route

* chore: update transition

* refactor: transition

* chore: ProvidePlugin

* chore: remove console

* chore: add router-dom server reference

* feat: add PageContext

* fix: comment

* chore: BrowserEntry

* chore: comment

* chore: update lock

* chore: error

* chore: loadRoutesModules

* feat: initialContext types
2022-03-22 17:23:04 +08:00
shuilan.cj eb91a2ca2e fix: await compile 2022-03-22 11:42:45 +08:00
shuilan.cj 0b96c685ff fix: await compile 2022-03-22 11:31:54 +08:00
shuilan.cj 028afeb49c chore: enable after compile 2022-03-22 11:17:19 +08:00
shuilan.cj 924280b80a chore: log test result 2022-03-22 11:10:45 +08:00
shuilan.cj 066335f8b2 chore: log test result 2022-03-22 11:06:32 +08:00
shuilan.cj cb2cb0cee1 chore: log test result 2022-03-22 10:48:54 +08:00
shuilan.cj 96fc16eb78 chore: log test result 2022-03-22 10:43:52 +08:00
shuilan.cj 4ba1664aeb fix: page config type 2022-03-22 10:30:14 +08:00
shuilan.cj 4fd07b78b1 fix: pageconfig may be null 2022-03-22 10:23:35 +08:00
shuilan.cj 1a8c1c1c04 refactor: return the last page config 2022-03-22 10:14:25 +08:00
shuilan.cj 1a6d05f333 fix: await generate html 2022-03-22 10:00:17 +08:00
shuilan.cj 4533b5314c fix: file suffix 2022-03-22 09:51:40 +08:00
shuilan.cj ddc5cdfe2b fix: file suffix 2022-03-22 09:51:16 +08:00
shuilan.cj 466efc2494 feat: mege page assets and config 2022-03-21 15:39:47 +08:00
shuilan.cj 536d8cc469 fix: ts error 2022-03-21 09:58:28 +08:00
shuilan.cj eebbc2d609 feat: get assets from manifest 2022-03-18 18:19:52 +08:00
ClarkXia 0190d9983c Merge branch 'feat-document-assets' of github.com:ice-lab/ice-next into feat-document-assets 2022-03-18 13:58:28 +08:00
ClarkXia 3881af0a47 fix: hijackwebpack 2022-03-18 13:58:05 +08:00
shuilan.cj f262d91222 fix: block css 2022-03-18 11:56:16 +08:00
shuilan.cj 37b9360a74 fix: pass path info 2022-03-18 11:26:28 +08:00
shuilan.cj 151fbfe46d feat: manifest 2022-03-17 18:55:13 +08:00
shuilan.cj ad6898b4b1 refactor: render async scripts 2022-03-17 16:14:06 +08:00
shuilan.cj 77e829d86b feat: route data 2022-03-17 15:21:32 +08:00
shuilan.cj 7f65bf21b7 refactor: remove routes json 2022-03-16 16:35:12 +08:00
shuilan.cj de8cb62938 feat: document component 2022-03-16 16:07:27 +08:00
shuilan.cj 47c5c6868f Merge branch 'release-next' into feat-document-assets 2022-03-16 14:18:58 +08:00
水澜 6837a27831
Merge pull request #31 from ice-lab/feat-page-route
feat: lazy load page
2022-03-16 14:18:06 +08:00
shuilan.cj 4cf7dec727 chore: remove log info 2022-03-16 14:12:42 +08:00
shuilan.cj 069d739e79 feat: generate route manifest 2022-03-16 14:10:42 +08:00
shuilan.cj bcadf379df feat: match route 2022-03-16 10:46:20 +08:00
shuilan.cj 9898cdd962 fix: routes type name 2022-03-15 18:07:22 +08:00
shuilan.cj b4720f528e refactor: add app routes 2022-03-15 18:01:50 +08:00
shuilan.cj d58a880cf2 refactor: app router to app routes 2022-03-15 17:57:56 +08:00
shuilan.cj f1a7ce5fb9 refactor: change to anonymous fn 2022-03-15 17:22:58 +08:00
shuilan.cj d757817865 refactor: set router by runtime 2022-03-15 17:11:31 +08:00
shuilan.cj aeebf4dd73 refactor: put universal logic to app 2022-03-15 15:07:02 +08:00
shuilan.cj def7e4b776 fix: error info 2022-03-15 14:25:31 +08:00