Skip to content
This repository has been archived by the owner on Oct 2, 2022. It is now read-only.

nowa按需加载 #45

Open
zhanglei85730 opened this issue Aug 16, 2018 · 1 comment
Open

nowa按需加载 #45

zhanglei85730 opened this issue Aug 16, 2018 · 1 comment

Comments

@zhanglei85730
Copy link

nowa搭建的用来开发钉钉应用,webpack默认是1.15.0版本,可以升级吗?如果不升级按需加载是如何实现呢?

@gbk
Copy link
Contributor

gbk commented Aug 16, 2018

可以参考 template-uxcore 脚手架nowa init uxcore

    require.ensure([], (require) => {
      require('./Page');
    }, 'Page');

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants