chore: add @ant-design-vue/use

pull/2820/head
tanjinzhou 2020-09-09 18:42:00 +08:00
parent f38979f5ba
commit 05a6f82644
4 changed files with 15 additions and 2 deletions

@ -1 +1 @@
Subproject commit 949baac19667bc35f99609ef9d57b919c6866cea Subproject commit cd4d03a897a0ab0224f4a631481e73cb05540f4a

View File

@ -15,7 +15,7 @@ Use Drawer to quickly preview details of an object, such as those in a list.
</div> </div>
</template> </template>
<script> <script>
import demo from '../antdv-demo/docs/date-picker/demo'; import demo from '../antdv-demo/docs/form/demo/nested-useForm';
export default { export default {
components: { components: {
demo, demo,

View File

@ -188,6 +188,7 @@
"xhr-mock": "^2.5.1" "xhr-mock": "^2.5.1"
}, },
"dependencies": { "dependencies": {
"@ant-design-vue/use": "0.0.1-alpha.0",
"@ant-design/icons-vue": "^5.1.5", "@ant-design/icons-vue": "^5.1.5",
"@babel/runtime": "^7.10.5", "@babel/runtime": "^7.10.5",
"@simonwep/pickr": "~1.7.0", "@simonwep/pickr": "~1.7.0",

View File

@ -103,6 +103,18 @@ module.exports = {
}, },
resolve: { resolve: {
alias: { alias: {
'ant-design-vue/es/form/utils/asyncUtil': path.join(
__dirname,
'./components/form/utils/asyncUtil',
),
'ant-design-vue/es/form/utils/messages': path.join(
__dirname,
'./components/form/utils/messages',
),
'ant-design-vue/es/form/utils/validateUtil': path.join(
__dirname,
'./components/form/utils/validateUtil',
),
'ant-design-vue/es/locale/en_US': path.join( 'ant-design-vue/es/locale/en_US': path.join(
__dirname, __dirname,
'./components/locale-provider/en_US.js', './components/locale-provider/en_US.js',