Run Angular2 as static app in browser without a server

后端 未结 6 1844
日久生厌
日久生厌 2020-12-13 02:06

As I understand the Angular2 concept - it is transpiling TypeScript files to .js files. In principle, it should be possible to compile, package, and then run that Angular2 a

6条回答
  •  鱼传尺愫
    2020-12-13 03:00

    It's impossible i think during to error in modern browsers:

    Uncaught (in promise): SecurityError: Failed to execute 'replaceState' on 'History':...

    it's a pity

提交回复
热议问题