Hello and welcome to this video.
In this video, I will be installing a light server, a light server.
Is he TTP development web server that you can use to serve pWt pages?
I'm going to be installing this as a package using and p.m. to install the light server.
You typing npm space install space light dash server space dash, dash, save dash dev.
The Dash Dash saved up Dev means you are saving it as a development dependency.
Make sure you are installing the package inside your project directory.
You can see I have navigated to my project directory here.
That's where I've issued the npm command to install the light server.
So once you've typed in the command, just press enter on your keyboard and that will begin to fetch
and then install the package.
So give it a few minutes to look for the package and then install it.
Progressive web applications have to be served over a secure TWRP connection, as I'm using this light
server as the hasty FTP server.
The likes of is going to be responsible for serving all the files we need for our application.
If you open up your code editor, you would notice you have a new folder called Note on this call modules.
And this is the result of the package we just installed, which is the light server.
So any further packages we install for the project will be handled by this folder called node underscore
modules.
Also, if we open up the package thought JSON file here, which you see an entry on that development
dependencies for the light server.
So this is a life saver.
We just installed and we installed it as a development dependency.
So that is it for this video in this video, install a light server.
Thanks for watching.