vue-jsx-hmr

0.1.0 • Public • Published

Vue JSX HMR

npm

Hot module replacement for Vue 2 JSX components.

Usage

Install the dependency:

npm i -D vue-jsx-hmr

Use the loader in Webpack module rules:

module.exports = {
  module: {
    rules: [
      {
        test: /\.(j|t)sx$/,
        use: ["babel-loader", "vue-jsx-loader"],
      },
    ],
  },
};

Limitations

  • Only defineComponent components are recognized.
  • Only non-default exported components are recognized.

Readme

Keywords

Package Sidebar

Install

npm i vue-jsx-hmr

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

3.85 kB

Total Files

4

Last publish

Collaborators

  • jake8n