You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Where to add Images and other files in 1.0.0-beta.14 #2126
OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 10
Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.14
node: 6.5.0
os: win32 x64
Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
ng new Angu2Final.
I read online that in project we have public folder but when I pulled the code there was not public folder and when I did ng build I was not able to see my images .
See the property 'assets' in angular-cli.json.
This means images (or assets in general) have to be placed under root/assets, in this case it will be under src/assets.
Okay, so... It's copying /src/assets/images to /dist/assets/images, but it's not copying all files. In my case, it copies the four .png files, and leaves the one .jpg file sitting there.
angular-automatic-lock-bot commented on Sep 6, 2019
Activity
[-]Where to add Images and other files.[/-][+]Where to add Images and other files in 1.0.0-beta.14[/+]alexciesielski commentedon Sep 15, 2016
See the property 'assets' in angular-cli.json.
This means images (or assets in general) have to be placed under root/assets, in this case it will be under
src/assets.CraigWarford commentedon Jan 17, 2017
Okay, so... It's copying /src/assets/images to /dist/assets/images, but it's not copying all files. In my case, it copies the four .png files, and leaves the one .jpg file sitting there.
angular-automatic-lock-bot commentedon Sep 6, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.