Skip to content

Commit 4afb93e

Browse files
committed
chore: update vue-loader version
1 parent 5991cf7 commit 4afb93e

File tree

5 files changed

+5
-37
lines changed

5 files changed

+5
-37
lines changed

antdv-demo

babel.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
test: {
44
presets: [['@babel/preset-env', { targets: { node: true } }]],
55
plugins: [
6-
['@vue/babel-plugin-jsx'],
6+
'@vue/babel-plugin-jsx',
77
'@babel/plugin-proposal-optional-chaining',
88
'@babel/plugin-transform-object-assign',
99
'@babel/plugin-proposal-object-rest-spread',

examples/App.vue

+1-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
1-
<cn>
2-
#### 信息预览抽屉
3-
需要快速预览对象概要时使用,点击遮罩区关闭。
4-
</cn>
5-
6-
<us>
7-
#### Preview drawer
8-
Use Drawer to quickly preview details of an object, such as those in a list.
9-
</us>
10-
11-
```vue
121
<template>
132
<div>
143
<demo />
154
</div>
165
</template>
176
<script>
18-
import demo from '../antdv-demo/docs/form/demo/nested-useForm';
7+
import demo from '../antdv-demo/docs/form/demo';
198
export default {
209
components: {
2110
demo,
@@ -45,4 +34,3 @@ export default {
4534
},
4635
};
4736
</script>
48-
```

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
"vue-i18n": "^9.0.0-alpha.11",
174174
"vue-infinite-scroll": "^2.0.2",
175175
"vue-jest": "^5.0.0-alpha.3",
176-
"vue-loader": "^16.0.0-beta.4",
176+
"vue-loader": "16.0.0-beta.5",
177177
"vue-router": "^4.0.0-alpha.12",
178178
"vue-server-renderer": "^2.6.11",
179179
"vue-style-loader": "^4.1.2",

webpack.config.js

+1-21
Original file line numberDiff line numberDiff line change
@@ -103,28 +103,8 @@ module.exports = {
103103
},
104104
resolve: {
105105
alias: {
106-
'ant-design-vue/es/form/utils/asyncUtil': path.join(
107-
__dirname,
108-
'./components/form/utils/asyncUtil',
109-
),
110-
'ant-design-vue/es/form/utils/messages': path.join(
111-
__dirname,
112-
'./components/form/utils/messages',
113-
),
114-
'ant-design-vue/es/form/utils/validateUtil': path.join(
115-
__dirname,
116-
'./components/form/utils/validateUtil',
117-
),
118-
'ant-design-vue/es/locale/en_US': path.join(
119-
__dirname,
120-
'./components/locale-provider/en_US.js',
121-
),
122-
'ant-design-vue/es/locale/zh_CN': path.join(
123-
__dirname,
124-
'./components/locale-provider/zh_CN.js',
125-
),
106+
'ant-design-vue/es': path.join(__dirname, './components'),
126107
'ant-design-vue': path.join(__dirname, './components'),
127-
128108
vue$: 'vue/dist/vue.esm-bundler.js',
129109
},
130110
extensions: ['.js', '.jsx', '.vue', '.md'],

0 commit comments

Comments
 (0)