Once finished with development, you need to package your application for the web by building JavaScript bundles from your TypeScript code packages. Angular CLI provides an automated task to accomplish this. With your application prepared and packaged, you can serve it on the native web.
- [Instructor] Once finished with our development,…we need to package our application for the web…by building JavaScript bundles…from our TypeScript code packages.…Angular CLI provides an automated task to accomplish this.…The first thing we need to do is actually stop…the server if we have it running.…All we need to do to do that is Control-C,…and on Windows, it'll ask you if you want…to terminate the job.…On Mac OS it'll just terminate it immediately.…So we want that to be terminated, I'll say yes.…
Let's make this a little bit bigger.…And from here, there's a very simple command…that you can use for the Angular CLI,…that's NG build.…And you can say which environment we want to build for.…I want to build for production so --prod.…Now we hit Enter and watch as the Angular CLI…converts our TypeScript Angular application…to pure JavaScript HTML and CSS,…which we can actually run and distribute…through the web browser.…
As we can see here, if we expand this a bit,…we have a new folder called Distribution.…And if I open this up, here are all…
Author
Updated
8/21/2020Released
10/11/2017- Installing the Angular CLI
- Creating a new project
- Verifying the animations package
- Configuring project routes
- Animating components
- Triggering animation between states
- Stepped and parallel animation
- Writing reusable animations
- Animating individual items with query and stagger
- Animating an existing Angular project
Skill Level Intermediate
Duration
Views
Related Courses
-
CSS: Animation
with Val Head1h 59m Intermediate -
Angular Testing and Debugging
with Derek Peruo1h 16m Intermediate
-
Introduction
-
Welcome1m 8s
-
Using the exercise files1m 46s
-
-
1. Getting Ready to Animate
-
How Angular animations work1m 56s
-
Angular CLI Installation2m 31s
-
Creating a new project1m 31s
-
Project structure3m 36s
-
Preview the project4m 30s
-
-
2. Enabling Angular Animations
-
3. Angular Animation Basics
-
Establishing stateful data3m 15s
-
Delay and easing functions5m 24s
-
Animation callback functions4m 31s
-
4. Advanced Angular Animation
-
Writing reusable animations5m 25s
-
Animation input parameters3m 58s
-
Configuring router animation6m 53s
-
Selecting items with a query6m 20s
-
5. Animating an Existing Interface
-
Video playback overview1m 18s
-
Adding animation packages3m 31s
-
Old animation cleanup1m 51s
-
Creating Angular components2m 57s
-
Animating the video title2m 58s
-
Providing playlist motion3m 31s
-
-
6. Package for Distribution
-
Building the project1m 56s
-
-
Conclusion
-
Goodbye34s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Building the project