Skip to content

Tweak Vue components written in JSX in real time.

License

Notifications You must be signed in to change notification settings

Robert-Ro/vue-jsx-hot-loader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tweak Vue components written in JSX in real time.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 62.4%
  • JavaScript 34.8%
  • HTML 2.8%