ngx-admin
ngx-admin copied to clipboard
problem while opening index.html in dist folder
when I open the index.html in local after publishing ngx-admin, the browser give me this error. Access to script at 'file:///E:/runtime-es2015.b5874e6667b547f01da5.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
Distribution folder is prepared for deployment, so you should use a web server like apache, nginx or lite-server. You can check this angular page for more information.
Distribution folder is prepared for deployment, so you should use a web server like apache, nginx or lite-server. You can check this angular page for more information.
Thanks for your answer. I knew this. for some reasons I'm gonna use it without deploying on a server ...
are you find ans sol . I have same prb