J
J
Jedi2017-08-08 03:18:49
Angular
Jedi, 2017-08-08 03:18:49

How can I run Angular-cli if I'm using regular hosting?

Hello. I want to use Angular in my project . The problem is that I'm using PHP on the back end. As far as I know, Node.js doesn't run on regular hosting. Are there any solutions?
My additional questions:

  1. Why is it impossible to include just one file as before? (More precisely, you can, but Angular.js is no longer updated)
  2. Does Angular Cli work well with PHP?
  3. Is it worth it to use Angular Cli because of the SPA or just to implement the page without reload (reload), and does it do a good job of it?

I would like to use Angular (the newest version, not Angular.js) just because I know it will be updated, if there are questions, the answer will be easy to find, etc.
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Belyaev, 2017-08-08
@PHPjedi

Angular Cli is just a dev utility that simplifies working with the framework, in most cases such utilities run only on the developer's machine and they have nothing to do on the hosting
You can build the production assembly locally and upload ready-made bundles to the hosting

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question