@ant-design-vue/vue-jsx-hot-loader
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

@ant-design-vue/vue-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", "@ant-design-vue/vue-jsx-hot-loader"],
      },
      // Remember to use babel on the rest of the JS files.
      {
        test: /\.js$/,
        use: "babel-loader",
      },
    ],
  },
};

/@ant-design-vue/vue-jsx-hot-loader/

    Package Sidebar

    Install

    npm i @ant-design-vue/vue-jsx-hot-loader

    Weekly Downloads

    59

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    9.92 kB

    Total Files

    7

    Last publish

    Collaborators

    • aibayanyu
    • sendya
    • amour1688
    • tangjinzhou