How to import js file as part of the npm library

前端 未结 0 1644
北荒
北荒 2021-01-07 08:58

I am trying to use the user created js file from assets folder to do an import in component file as below

import * as Editor from \'../../assets/ckedit/ckeditor\';

相关标签:
回答
  • 消灭零回复
提交回复
热议问题