Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,030 --> 00:00:02,400
Now we've got Walmart installed.
2
00:00:02,410 --> 00:00:05,470
Let's figure out how to tell angular to actually make use of this.
3
00:00:05,470 --> 00:00:07,000
Yes s inside there.
4
00:00:07,000 --> 00:00:11,500
The first thing we're going to do is open up our code editor and see what happened when we ran that
5
00:00:11,500 --> 00:00:12,960
command right there.
6
00:00:12,980 --> 00:00:18,000
I'm going to open up my editor in inside of my folder Explorer on the left hand side.
7
00:00:18,030 --> 00:00:23,330
I'm going to find the node modules directory if I open up that folder I'm going to see a ton of different
8
00:00:23,330 --> 00:00:24,740
folders inside there.
9
00:00:24,870 --> 00:00:29,210
The node modules directory contains all of the different dependencies of our project.
10
00:00:29,210 --> 00:00:33,770
Just about all the folders you see inside of here are what is required to get an angular project up
11
00:00:33,770 --> 00:00:35,160
and running.
12
00:00:35,210 --> 00:00:41,970
We scroll down this list and find the B section we'll see a new folder inside there called Boma.
13
00:00:42,120 --> 00:00:49,280
That is what was added when we just ran that npm install Bomber Command at our terminal the NPM or node
14
00:00:49,280 --> 00:00:55,070
package manager reached out to the NPM registry downloaded all the code for Boma and added it into our
15
00:00:55,070 --> 00:00:57,470
project inside that Bowman directory.
16
00:00:57,470 --> 00:01:04,820
There is a CSX folder and inside there is a file called Belmont dot CSX that is the main Boma CSX file
17
00:01:05,330 --> 00:01:07,750
that is the file that has all the different styling rules.
18
00:01:07,760 --> 00:01:10,110
That is what we need to include into our project.
19
00:01:10,410 --> 00:01:16,100
So we need to figure out how to tell angular specifically to go and get that CSX file and include it
20
00:01:16,160 --> 00:01:22,810
with the final version of our application that gets served up inside the browser to do so.
21
00:01:22,910 --> 00:01:26,540
We're going to close that node modules directory.
22
00:01:26,730 --> 00:01:34,920
We're going to find the SRT folder and then inside there I'll find the styles dot CSX file the inside
23
00:01:34,920 --> 00:01:35,720
this file.
24
00:01:35,840 --> 00:01:41,370
There is a comment at the very top says you can add global styles to this file and then very importantly
25
00:01:41,370 --> 00:01:44,400
it says you can also import other style files.
26
00:01:44,430 --> 00:01:46,800
And that's exactly what we're going to do.
27
00:01:46,920 --> 00:01:52,350
We're going to add a single line of code to the styles dot CSX file that tells angular to go into that
28
00:01:52,350 --> 00:01:58,630
node modules directory find the boma folder find the CSX folder inside that and then find the boma dots.
29
00:01:58,640 --> 00:02:04,020
Yes this file inside of there and to take that file and include it with our project when it gets built
30
00:02:04,080 --> 00:02:11,120
and served up inside the browser but to do so we will write out at import and then we'll write the path
31
00:02:11,330 --> 00:02:16,450
to that file that we were just looking at relative to the node modules directory.
32
00:02:16,610 --> 00:02:18,790
In other words we're gonna write inside there.
33
00:02:18,950 --> 00:02:22,370
So that is the name of the folder inside of node modules.
34
00:02:22,370 --> 00:02:30,270
Inside there was a CSX folder and then inside of that was the Bulla Nazi SS file the angular or specifically
35
00:02:30,270 --> 00:02:35,340
all the tooling that builds up our application is going to look automatically inside the node modules
36
00:02:35,340 --> 00:02:37,260
directory and find the bomber folder.
37
00:02:37,300 --> 00:02:40,670
It's then going to get that file and included with our project.
38
00:02:40,770 --> 00:02:42,710
Let's now save this file.
39
00:02:42,820 --> 00:02:47,690
I'll go back over to my browser and I'll see that now all the styling has changed.
40
00:02:47,800 --> 00:02:49,100
I've got a different font.
41
00:02:49,120 --> 00:02:50,780
Some stuff looks a little bit different.
42
00:02:50,830 --> 00:02:55,570
That means that I've successfully included almost the SS into my project.
43
00:02:55,580 --> 00:02:57,310
Now that that stuff is all wired up.
44
00:02:57,370 --> 00:02:58,650
Let's take one more pause.
45
00:02:58,660 --> 00:03:03,970
We're gonna come back the next video and start to adjust a lot of the HCM L and class names or our application
46
00:03:03,970 --> 00:03:11,760
inside of our template that we get that nice looking form something similar to this form right here.
4937
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.