Commit Graph

7 Commits

Author SHA1 Message Date
luhc228 9208dae707 refactor: import app store (#596)
* fix: throw error when no app store

* fix: ts type

* refactor: import app store

* refactor: change extraContext to runtimeOptions

* feat: call render in plugin

* refactor: optimize code

* chore: remove log
2022-11-15 10:32:49 +08:00
luhc228 2ca66f5857 feat: store plugin (#431)
* feat: app store

* chore: store example

* chore: lock

* feat: init page store

* feat: update page store

* fix: disable reset page state

* feat: createModel

* test: with-store test

* fix: comment

* chore: lock
2022-11-15 10:23:01 +08:00
ClarkXia ac910ed2dc refactor: remove 2.x code 2022-11-14 17:17:45 +08:00
狒狒神 821af53150
feat: support store (#3442) 2020-08-21 17:56:26 +08:00
chenbin92 a787dd099b feat: support lazy store (#236)
* feat: support lazy store

* feat: support component model

* fix: typo

* feat: support store api

* chore: lazy example

* feat: add babelPluginReplacePath

* feat: replace router component path

* feat: add getRoutes util

* feat: support custom routes path

* feat: support replace custom alias

* fix: only transform Import node

* fix: alias key

* fix: only transform pages

* fix: set default alias

* fix: match pages

* fix: calculate relative path

Co-authored-by: 许文涛 <alvin.hui@qq.com>
2020-04-17 12:13:37 +08:00
chenbin92 5aa5636dc8 feat: upgrade icestore to 1.3.0 (#208)
* feat: upgrade icestore to 1.3.0

* fix: remove default key

* refactor: get appConfig

* feat: delay load appStore

* chore: remove store

* chore: update basic-ssr example

* chore: update basic-store example

* chore: update version

* chore: remove log

* chore: add comments

* chore: clear code

* fix: move appConfig alias
2020-04-03 20:48:31 +08:00
思忠 eebd118c7e feat: initial project 2020-02-13 23:14:08 +08:00