As a developer we need to show our works to different persons for that we can not use our local server to show them.That is the time we need a platform to host our website .And hosting our website we can easily share our webapp with anyone who wants to see. Though there are a lots of hosting platform avaiable at the moment paid and free , I am gonna share the easiest one I think and Thats is Netlify .
To host a website into netlify there are also a few paths exist and one of them is to simply drag and drop !!!! hurrah !! your website is live now .
To host a website we need some procedure to follow and it is really easy . Lets get start
We can not drag the whole webapp there it will take a huge space and memory . For that we need something called build or dist folder .
And we need to use the command : npm run build
Then you will see that a 'build' or 'dist' named folder has been created at the root of your project .
3 Now go to the netlify website and just take the 'build' or 'dist' folder from your application and just drop it here . Just wait for a few seconds and your website is live.
It's always seems impossible until its done .---Nelson Mandela
Top comments (0)