从AWS s3或CDN

时间:2017-05-25 07:21:15

标签: angularjs node.js amazon-web-services express angular-cli

我想从s3中包含css文件,但项目编译失败

Module not found: Error: Can't resolve '/Users/WebstormProjects/ra_management_frontend/src/http:/myurl/ra-management/assets/css/font-awesome.min.css

及以下我在angular-cli.json文件中包含了一个外部链接

 "styles": [
    "http://myurl/ra-management/assets/css/font-awesome.min.css",
   "./styles/main.scss"

 ],
 "scripts": [
   "../node_modules/jquery/dist/jquery.js",
   "../node_modules/bootstrap/dist/js/bootstrap.min.js"

 ],

在此先感谢。任何帮助或指南都会非常感激

0 个答案:

没有答案