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

Nowa是否考虑加入或者已经有页面js能够按需加载功能? #56

Open
yiqieqie opened this issue Sep 23, 2017 · 1 comment
Open

Comments

@yiqieqie
Copy link

如题
类似 babel-plugin-import . 或者其他方式, 使得最后生成的页面是按照每个页面自己的功能加载不同的js文件, 而不是整个一个app.js 直接全部一次性载入.

@gbk
Copy link
Contributor

gbk commented Sep 26, 2017

目前也支持的,可以用 require.ensure 去加载模块

cc @tommytroylin

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