GithubHelp home page GithubHelp logo

vuecomponent / vue-jsx-hot-loader Goto Github PK

View Code? Open in Web Editor NEW
18.0 3.0 5.0 260 KB

Tweak Vue components written in JSX in real time.

License: MIT License

TypeScript 62.32% JavaScript 34.83% HTML 2.85%

vue-jsx-hot-loader's Introduction

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

vue-jsx-hot-loader's People

Contributors

amour1688 avatar liuye1296 avatar tomvista avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vue-jsx-hot-loader's Issues

Support for class component.

Hi @Amour1688,

first of all thank you very much for taking the time to create vue-jsx-hot-loader.
I was testing today vue-jsx-hot-loader in new Vue app with jsx/tsx and the loader worked really really nice. Thanks again :)

My question is, can we make the vue-jsx-hot-loader, to work with vuejs/vue-class-component?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.