V
V
Vasyl Vandych2016-07-26 07:29:49
css
Vasyl Vandych, 2016-07-26 07:29:49

How to load only some css in AngularJS page and not whole vendor.js file?

There is a simple page in the project where you do not need to download all js scripts and css. How to force this page to load only certain css js files. Ato app.js vendor.js weighs a lot for this page.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
napa3um, 2016-07-26
@napa3um

Depends on the build settings of your project. Start with Webpack or Gulp configs, or whatever you have bundled app.js and vendor.js to break those bundles into smaller ones.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question