Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

weex 请问一下 在vue里面引入js应该怎么配置 在本地浏览器可以跑 到移动端加载不到资源了 谢谢

weex请问一下 在vue里面引入js应该怎么配置 在本地浏览器可以跑 到移动端加载不到资源了 谢谢


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

在 vue 文件里写 require('./xxx/xxx.js'),然后用 weex-loader 打包


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...