V
V
Vladimir2016-11-20 02:23:54
Angular
Vladimir, 2016-11-20 02:23:54

How to add assets to NG6-starter?

There is such a starter kit https://github.com/AngularClass/NG6-starter
1) I still don’t understand where to throw assets (pictures) so that it transfers them to public
2) You can somehow force it in development mode not to glue everything either in vendor.js ? It's terribly inconvenient to debug
3) Maybe you can force it and glue the project files in development mode into one at least in folders?
What's a good starter kit that doesn't use WebPack and is able to use ES6 and Stylus?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-11-20
@Casufi

Everyone can't get their hands on it. Today, this starter is a bit outdated.
1. Not supported. I recommend arming yourself with webpack-copy-plugin and go ahead.
2. You can't. To do this, you should look towards system.js + http2.
3. Read the webpack documentation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question