Angular2 FileSaver.js - Cannot find module 'file-saver'

前端 未结 4 2012
北荒
北荒 2021-02-19 21:53

I am working on moving an angular 1.x site to a new angular 2.0 site I created the site using angular-cli 1.0.0-beta.15.

I have a button to export some data to a CSV fi

4条回答
  •  南方客
    南方客 (楼主)
    2021-02-19 22:41

    Install the Library as follows,

    npm install file-saver --save
    

    This will solve your problem.

提交回复
热议问题