如何在我的应用程序中使用图片? 如何配置?
angular-cli:1.0.0-beta.16(使用webpack)
我试图将我的图片放在assets / images / test.png 或 assets / test.png中但不起作用!
以及如何从我的HTML中抓取我的照片?
角cli.json
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": "assets",
"index": "index.html",
"main": "main.ts",
"test": "test.ts",
"tsconfig": "tsconfig.json",
"prefix": "app",
"mobile": false,
"styles": [
"styles.css"
],
......other things..
感谢。