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

vue2 + vue router2 lazyload not work ios7 #443

Closed
docikaci opened this issue Apr 22, 2017 · 2 comments
Closed

vue2 + vue router2 lazyload not work ios7 #443

docikaci opened this issue Apr 22, 2017 · 2 comments

Comments

@docikaci
Copy link

ios 7 下

两种方式都不加载,在ios 7.0 7.1下

1:System.import方式
image
export default new Router({
routes: [
{
path: '/new',
name: 'New',
component: resolve => System.import('../views/new.vue')
}
]
})

2:require.ensure方式
image

@docikaci
Copy link
Author

add:
同步方式可以加载 打包之后就是一个 app.md5.js

@egoist
Copy link
Collaborator

egoist commented Apr 23, 2017

Please ask support questions on stackoverflow or forums.

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

No branches or pull requests

2 participants