Compare commits

...

4 Commits

Author SHA1 Message Date
zhuzhengjian
46b98316ee fix: add minify mode 2023-05-06 10:42:08 +08:00
zhuzhengjian
7320eaf54d chore: dealing with conflict 2023-05-05 15:52:01 +08:00
zhuzhengjian
5338a2fe92 Merge branch 'main' of github.com:antd-tiny-vue/antd-tiny-vue into main 2023-04-27 11:30:47 +08:00
zhuzhengjian
b486c0ae40 chore: migrate vue3.3 2023-04-27 11:30:19 +08:00
5 changed files with 689 additions and 698 deletions

View File

@ -148,7 +148,7 @@ const Button = defineComponent({
return () => {
const { shape, rootClassName, ghost, type, block, danger } = props
const icon = getSlotsProps(slots, props, 'icon')
const children = filterEmpty(slots.default?.())
const children = filterEmpty(slots.default?.() as any)
isNeedInserted =
children.length === 1 &&
!slots.icon &&

View File

@ -84,7 +84,7 @@ const Space = defineComponent({
return () => {
const { align, direction, rootClassName, split, wrap } = props
const childNodes = filterEmpty(slots.default?.())
const childNodes = filterEmpty(slots.default?.() as any)
const mergedAlign =
align === undefined && direction === 'horizontal' ? 'center' : align
const cn = classNames(

View File

@ -39,7 +39,7 @@
"@ctrl/tinycolor": "^3.6.0",
"@v-c/utils": "^0.0.22",
"@vueuse/core": "^9.13.0",
"vue": "^3.2.47"
"vue": "^3.3.0-beta.2"
},
"devDependencies": {
"@commitlint/cli": "^17.5.0",
@ -56,10 +56,10 @@
"prettier": "^2.8.7",
"typescript": "^5.0.4",
"unbuild": "^1.1.2",
"vite": "^4.2.1",
"vite": "^4.3.3",
"vite-plugin-dts": "^2.3.0",
"vite-plugin-vitepress-demo": "2.0.0-beta.29",
"vitepress": "1.0.0-alpha.69",
"vitepress": "1.0.0-alpha.74",
"vitest": "^0.28.5"
},
"pnpm": {
@ -67,6 +67,9 @@
"ignoreMissing": [
"@algolia/client-search"
]
},
"overrides": {
"vue": "3.3.0-beta.2"
}
},
"lint-staged": {

File diff suppressed because it is too large Load Diff

View File

@ -10,6 +10,7 @@ export default defineConfig({
})
],
build: {
minify: false,
rollupOptions: {
external: [
'@ant-design/colors',