vue-element-queries
vue-element-queries copied to clipboard
CSS Crawler Chrome 64
Since the new version of Chrome crawling the StyleSheets now throws errors: https://stackoverflow.com/questions/49088507/cannot-access-rules-in-external-cssstylesheet
Just wanted to report this here incase anyone else is having the same issue. Now looking into a potential fix.
Aha thanks for submitting this! I'll also look into a potential fix and see if we can get it resolved.
I have a fix if you wouldn't mind a PR
Try to load your css styles with crossorigin attribute.
E.g.
<link rel="stylesheet" href="{{ asset('build/app.css') }}" crossorigin="anonymous">
or with fg-loadcss from inside javascript:
import { loadCSS } from 'fg-loadcss';
loadCSS('https://my-kewl.app/build/app.css'], null, null, {'crossorigin': '*'});