我是Angular的新手,并建立了一个照片灯箱作为学习项目。有没有办法使用项目文件夹外部的图像?我尝试使用此处引用的Glob(https://github.com/angular/angular-cli/issues/3555)并在.angular-cli.json文件中插入目录路径(请参见下文)都没有成功。在angular-cli中这可能吗?
"assets": [
"assets",
"assets/img",
"D:/training/img", // full path
"../../../img", // relative path
"favicon.ico"
],
Run Code Online (Sandbox Code Playgroud)