Hi
I am trying to import polymer2.0 webcomponent html files from the bitbucket
Getting below error when i try to serve components created
Imported resource from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access.
I found that it is a CORS issue and HTML Imports follow the same restrictions as XHR:
But is there an option/workaround to import file from bitbucket/Git without using webserver
Imports are working fine for JS and CSS files from bitbucket/Git but not HTML files
Thanks
Sai