Access to XMLHttpRequest blocked by CORS policy
Using the v2 template, I receive the following error when trying to load the bibliography.bib file:
d-bibliography.js:99 Access to XMLHttpRequest at 'file:///Users/bob/development/website-bootstrap/articles/bibliography.bib' from origin 'bob' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
@adam-erickson Hey did you figure this out?
Update:
I think I figure this out. Probably you're opening the index.html on your own machine. But if you had a server the serve all the files, this problem would go away. When I want to run on my own computer, npm run dev works as a local server for me.