Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

向根层传入对象 #271

Open
13 tasks
Diablohu opened this issue Aug 18, 2020 · 1 comment
Open
13 tasks

向根层传入对象 #271

Diablohu opened this issue Aug 18, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@Diablohu
Copy link
Member

Diablohu commented Aug 18, 2020

  • client
    • store
    • history
    • localeId
    • locales
    • styles
  • server
    • store
    • history
    • localeId
    • locales
    • styles
    • ctx
@Diablohu Diablohu added the enhancement New feature or request label Aug 18, 2020
@Diablohu
Copy link
Member Author

Diablohu commented Aug 19, 2020

由于根层 <Router> 组件扩展起来目前来说较为困难,改为在 Store 中扩展

2020/08/21 update

创建 Context,传入 ctx store locales 等,export 出去供其他文件使用

Diablohu added a commit that referenced this issue Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant