diff --git a/antdv-demo b/antdv-demo index 8eb46ed70..eeb21e6ca 160000 --- a/antdv-demo +++ b/antdv-demo @@ -1 +1 @@ -Subproject commit 8eb46ed705198a2a8b1dec1594545d2f5e02be24 +Subproject commit eeb21e6ca8a62fc58a427129f276ec6f7ed19567 diff --git a/babel.config.js b/babel.config.js index 58c70b70a..10f5a0440 100644 --- a/babel.config.js +++ b/babel.config.js @@ -3,7 +3,7 @@ module.exports = { test: { presets: [['@babel/preset-env', { targets: { node: true } }]], plugins: [ - ['@vue/babel-plugin-jsx'], + '@vue/babel-plugin-jsx', '@babel/plugin-proposal-optional-chaining', '@babel/plugin-transform-object-assign', '@babel/plugin-proposal-object-rest-spread', diff --git a/examples/App.vue b/examples/App.vue index 6bdc60a92..726982a32 100644 --- a/examples/App.vue +++ b/examples/App.vue @@ -1,21 +1,10 @@ - -#### 信息预览抽屉 -需要快速预览对象概要时使用,点击遮罩区关闭。 - - - -#### Preview drawer -Use Drawer to quickly preview details of an object, such as those in a list. - - -```vue -``` diff --git a/package.json b/package.json index 9bdfbee41..f9cc8e6b1 100644 --- a/package.json +++ b/package.json @@ -173,7 +173,7 @@ "vue-i18n": "^9.0.0-alpha.11", "vue-infinite-scroll": "^2.0.2", "vue-jest": "^5.0.0-alpha.3", - "vue-loader": "^16.0.0-beta.4", + "vue-loader": "16.0.0-beta.5", "vue-router": "^4.0.0-alpha.12", "vue-server-renderer": "^2.6.11", "vue-style-loader": "^4.1.2", diff --git a/webpack.config.js b/webpack.config.js index 2469393a6..a4f929048 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -103,28 +103,8 @@ module.exports = { }, resolve: { 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( - __dirname, - './components/locale-provider/en_US.js', - ), - 'ant-design-vue/es/locale/zh_CN': path.join( - __dirname, - './components/locale-provider/zh_CN.js', - ), + 'ant-design-vue/es': path.join(__dirname, './components'), 'ant-design-vue': path.join(__dirname, './components'), - vue$: 'vue/dist/vue.esm-bundler.js', }, extensions: ['.js', '.jsx', '.vue', '.md'],