Coder Social home page Coder Social logo

fi3ework / vite-plugin-web-components-hmr Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 2.0 3.57 MB

Provides Vite HMR for web components(vanilla, Lit, Fast, List, Haunted).

Home Page: https://www.npmjs.com/package/vite-plugin-web-components-hmr

License: MIT License

JavaScript 73.86% TypeScript 26.14%
hmr lit vite web-components fast-element haunted list-elements lit-element lit-html vite-plugin

vite-plugin-web-components-hmr's People

Contributors

fi3ework avatar pengx17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vite-plugin-web-components-hmr's Issues

Hot reloading not working after modifying html templates

Hello, thank you so much for this great tool!

After setting it up with the Vite starter kit, HMR is now working for CSS modifications. However, if I change the html string template in my TypeScript file, the consoles prints [vite] hot updated: xxx, but the elements on the webpage do not change. I have to manually reload the webpage to see the change.

Any suggestions on how to fix this issue? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.