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

vue-cli 懒加载配置 #18

Open
sherfruit opened this issue Dec 19, 2016 · 3 comments
Open

vue-cli 懒加载配置 #18

sherfruit opened this issue Dec 19, 2016 · 3 comments

Comments

@sherfruit
Copy link

你好 项目中想要实现懒加载 如何去修改webpack的配置呢?谢谢

@yaoyao1987
Copy link
Owner

引入插件即可,比如说vue-lazyload,https://github.com/hilongjw/vue-lazyload

@sherfruit
Copy link
Author

npm run dev之后是Cannot GET

@yaoyao1987
Copy link
Owner

image

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