score:4

Accepted answer

your document has the origin 'null' because you are loading it from a file scheme uri.

install a web server and load your html document from there.

score:0

to elaborate off of quentin's answer. you can run it on a web server using:

npx http-server wond_dist

where wond_dist is the public or distribution folder.

you can read more about http-server here: https://github.com/http-party/http-server

there are also many more web servers you can run it on in this post: using node.js as a simple web server


Related Query

More Query from same tag