Skip to content

Commit

Permalink
v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Amour1688 committed Jan 16, 2021
1 parent 6b2028d commit 9cb6af7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
# vue-jsx-hot-loader
# @ant-design-vue/vue-jsx-hot-loader

Tweak Vue components written in JSX in real time.

## Usage

```js
// 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",
},
],
},
};
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design-vue/vue-jsx-hot-loader",
"version": "1.0.0",
"version": "0.1.0",
"description": "Tweak Vue components written in JSX in real time.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 9cb6af7

Please sign in to comment.