Skip to content

Commit 05a6f82

Browse files
committed
chore: add @ant-design-vue/use
1 parent f38979f commit 05a6f82

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

antdv-demo

examples/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Use Drawer to quickly preview details of an object, such as those in a list.
1515
</div>
1616
</template>
1717
<script>
18-
import demo from '../antdv-demo/docs/date-picker/demo';
18+
import demo from '../antdv-demo/docs/form/demo/nested-useForm';
1919
export default {
2020
components: {
2121
demo,

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@
188188
"xhr-mock": "^2.5.1"
189189
},
190190
"dependencies": {
191+
"@ant-design-vue/use": "0.0.1-alpha.0",
191192
"@ant-design/icons-vue": "^5.1.5",
192193
"@babel/runtime": "^7.10.5",
193194
"@simonwep/pickr": "~1.7.0",

webpack.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,18 @@ 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+
),
106118
'ant-design-vue/es/locale/en_US': path.join(
107119
__dirname,
108120
'./components/locale-provider/en_US.js',

0 commit comments

Comments
 (0)