Angular4.x Module not found: Error: Can't resolve 'classlist.js'

后端 未结 4 575
失恋的感觉
失恋的感觉 2021-02-12 14:41

When I remove comment part in polyfills.ts for polyfills to load page in Internet Explore

4条回答
  •  遥遥无期
    2021-02-12 15:02

    You're importing a polyfill that is not included by default. You have to install it as a dependency first. How to do that is in a comment on the same line that imports it:

    // Run `npm install --save classlist.js`.
    

    The same goes for the web-animations-js polyfill if you haven't done so already.

提交回复
热议问题