Skip to content

vue3-oop/vue-jsx-hot-loader

 
 

Repository files navigation

@vue3-oop/jsx-hot-loader

Tweak Vue components written in JSX in real time.

Usage

// webpack.config.js
module.exports = {
  // ...
  module: {
    loaders: [
      // Enable HMR for JSX.
      {
        test: /\.jsx$/,
        use: ["babel-loader", "@vue3-oop/jsx-hot-loader"],
      },
      // Remember to use babel on the rest of the JS files.
      {
        test: /\.js$/,
        use: "babel-loader",
      },
    ],
  },
};

About

Tweak Vue components written in JSX in real time.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 62.2%
  • JavaScript 35.5%
  • HTML 2.3%