Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.03 KB

README.md

File metadata and controls

27 lines (18 loc) · 1.03 KB

HTML, CSS, JS (Auto Refresh)

This template is a starter for building a website with HTML, CSS and JS, powered by Vite. HTML provides the basic structure, CSS controls formatting, and JavaScript controls the behavior of different elements.

Hit run to see this project in action. It will auto-refresh as you edit the HTML, CSS and JS files.

Disable Auto Refresh

If you find the auto refresh getting in your way, go to vite.config.js and update it set hmr to false to disable hot module reloading (HMR). The full config will look like this:

export default defineConfig({
  plugins: [],
  server: {
    host: '0.0.0.0',
    hmr: false, // Change this line to `false` disable auto-refreshing.
  }
})

Packages

Because this template uses Vite to build your code, you can add install and use npm packages. Simple open the Packager tool to search and manage your packages.

Learn More

Check out the vite docs to learn more about configuring a frontend application.