We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b2028d commit 091ff90Copy full SHA for 091ff90
README.md
@@ -1,2 +1,26 @@
1
-# vue-jsx-hot-loader
+# @ant-design-vue/vue-jsx-hot-loader
2
+
3
Tweak Vue components written in JSX in real time.
4
5
+## Usage
6
7
+```js
8
+// webpack.config.js
9
+module.exports = {
10
+ // ...
11
+ module: {
12
+ loaders: [
13
+ // Enable HMR for JSX.
14
+ {
15
+ test: /\.jsx$/,
16
+ use: ["babel-loader", "@ant-design-vue/vue-jsx-hot-loader"],
17
+ },
18
+ // Remember to use babel on the rest of the JS files.
19
20
+ test: /\.js$/,
21
+ use: "babel-loader",
22
23
+ ],
24
25
+};
26
+```
package.json
@@ -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",
0 commit comments