@vue3-oop/jsx-hot-loader
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

@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",
      },
    ],
  },
};

Readme

Keywords

Package Sidebar

Install

npm i @vue3-oop/jsx-hot-loader

Weekly Downloads

1

Version

0.1.6

License

MIT

Unpacked Size

11.6 kB

Total Files

7

Last publish

Collaborators

  • agileago