When you run ng build it creates a dist directory with your TypeScript transpiled to JavaScript and all that stuff. When we deploy this, we’ll want to invoke the ng build command after installation. If you’re ready for the Rails version, that can be found here.)įirst, make sure you have the following versions of the following things installed:įirst let’s initiate the project, which I’ll give the random name of bananas: $ ng new bananas Even if you use the Angular/Rails combo I’d recommend deploying an Angular-only app first just so you understand how the process works. I won’t be talking about Rails at all here. (By the way, this is an Angular-only post. Here I’ll show you how to initiate an Angular CLI/Webpack project and deploy it to Heroku. This affects the Heroku deployment process. Angular CLI recently switched from SystemJS to Webpack.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |