Table of contents
No headings in the article.
Live Server is a popular extension for Visual Studio Code (VSCode), a code editor developed by Microsoft. Live Server is designed to simplify web development by providing a local development server with live reloading capabilities. Here are some key features of Live Server:
Local Development Server:
- Live Server sets up a local development server on your machine, allowing you to run and test your web applications locally.
Live Reloading:
- It provides live reloading functionality, meaning that when you make changes to your HTML, CSS, or JavaScript files, the browser will automatically refresh to reflect those changes without requiring manual page reloading.
Support for Static Files:
- Live Server supports serving static files like HTML, CSS, JavaScript, images, and more. It helps you quickly preview your web pages during development.
Support for Dynamic Pages:
- It works well with dynamic pages and applications, making it a useful tool for both static and dynamic web development.
Browser Compatibility:
- Live Server is designed to work with various web browsers, ensuring a consistent development experience across different platforms.
Easy to Use:
- It's easy to set up and use. Once installed, you can start the server with just a few clicks, and it will handle the rest.
To use Live Server with Visual Studio Code:
Install the "Live Server" extension from the VSCode marketplace.
Open the HTML file you want to work on.
Right-click anywhere in the HTML file and select "Open with Live Server" from the context menu.
To sum it it basically is like EXPRESS and the route and the configuration is managed by the extension itself