Does anyone know if Angular2 can run from a file: /// in general? If yes, provide me a sample template.
I created a sample Angular2 application using angular-cli. I tested the sample and got the standard “works!” Application. message. After that, I used "ng build -prod" to create the output. I also ran the "ng serve -prod" command to test the build assembly.
I get missing file attachments (file: /// C: /main.d02450dd52811831e517.bundle.js), and I assume that this is because the file system starts root on the working drive.
source
share