ok, I know it's most likely bad luck or something, but after 10 years learning PHP, HTML and keeping up with the standards, I really don't have time to learn node - and everything I do is on apache servers - cpanel.
So any chance of a how to doc for us who want Angular but also want to not have nodejs.
Thanks
You won't need node.js to actually run Angular 2 on your server, but it definitely helps you with development. If you develop on AngularClass' webpack starter repo, you can build the project by running npm run build:prod and it will compile your project into separate .html, .css and .js(and other assets) file with an index.html that you can serve on an Apache server without Node.js at all.
But why on earth would you not want to learn the beautiful world of Node.js?
@russellharrower
"Learning node" should take you about 1 hour. If you don't have time for that, please stop working 3 jobs.
manually setting it up will most likely take you way more time, also if you don't want to waste time, wait for beta or 1.0, there will be issues you'll encounter.
After compiling also, you can just drag and drop the files on apache, slap in a proper .htaccess to make sure it all uses the index.html and you're done.
But forgive me if this bothers you, but why are you willing to be a developer and not spend time learning new skills?
npm will be the primary method of deploying releases. Once we get closer to final there will likely be a simply bundle download available, but that is a bit further down the road.
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._
Most helpful comment
You won't need node.js to actually run Angular 2 on your server, but it definitely helps you with development. If you develop on AngularClass' webpack starter repo, you can build the project by running
npm run build:prodand it will compile your project into separate .html, .css and .js(and other assets) file with an index.html that you can serve on an Apache server without Node.js at all.But why on earth would you not want to learn the beautiful world of Node.js?