简体   繁体   中英

Is Polymer 3 & Cordova Compatible?

I cant seem to get even the simple polymer starter kit running with Cordova, If i go back to polymer 2 it works fine, but polymer 3 wont load the my-app page.

I've tried allot of ideas to no avail, Ive added each of the default builds without service workers, I've tried changing the default path to ./ instead of just '/' ive included the links the cordova.js and called app.initalise()

any help would be most appreciated

我一直在尝试将一个聚合物 3 项目打包到科尔多瓦中,但问题是它必须能够在没有服务器的情况下运行,因为 CORS 政策,它不允许导入 ES6 模块,除非它们被提供,因此,您必须使用 webpack 或名为 CorHttpd 的cordova 插件来解决cordova

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM