mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-05-30 11:59:19 +08:00
build: vite依赖升级
This commit is contained in:
parent
6d6490ab31
commit
6d91cacc84
@ -20,12 +20,12 @@
|
|||||||
"vue": "^3.2.37"
|
"vue": "^3.2.37"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vuepress/bundler-vite": "^2.0.0-beta.49",
|
"@vuepress/bundler-vite": "^2.0.0-beta.51",
|
||||||
"@vuepress/cli": "^2.0.0-beta.49",
|
"@vuepress/cli": "^2.0.0-beta.51",
|
||||||
"@vuepress/client": "^2.0.0-beta.49",
|
"@vuepress/client": "^2.0.0-beta.51",
|
||||||
"@vuepress/plugin-search": "^2.0.0-beta.49",
|
"@vuepress/plugin-search": "^2.0.0-beta.51",
|
||||||
"@vuepress/theme-default": "^2.0.0-beta.49",
|
"@vuepress/theme-default": "^2.0.0-beta.51",
|
||||||
"vite": "~2.9.14",
|
"vite": "~3.1.3",
|
||||||
"vuepress": "^2.0.0-beta.49"
|
"vuepress": "^2.0.0-beta.51"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { viteBundler } from '@vuepress/bundler-vite';
|
import { viteBundler } from '@vuepress/bundler-vite';
|
||||||
import { defineUserConfig } from '@vuepress/cli';
|
import { defineUserConfig } from '@vuepress/cli';
|
||||||
import { defaultTheme } from '@vuepress/theme-default';
|
import { defaultTheme } from '@vuepress/theme-default';
|
||||||
const { searchPlugin } = require('@vuepress/plugin-search');
|
import { searchPlugin } from '@vuepress/plugin-search'
|
||||||
|
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
<demo-block type="form" :config="[{
|
<demo-block type="form" :config="[{
|
||||||
type: 'row',
|
type: 'row',
|
||||||
labelWidth: 100,
|
labelWidth: 100,
|
||||||
|
span: 8,
|
||||||
items: [{
|
items: [{
|
||||||
name: 'text',
|
name: 'text',
|
||||||
text: '配置1',
|
text: '配置1',
|
||||||
|
@ -17,12 +17,16 @@
|
|||||||
<demo-block type="form" :config="[{
|
<demo-block type="form" :config="[{
|
||||||
name: 'firstName',
|
name: 'firstName',
|
||||||
text: '名',
|
text: '名',
|
||||||
onChange: (state, v, { model }) => model.fullName = `${model.lastName}${model.firstName}`,
|
onChange: (state, v, { model }) => {
|
||||||
|
model.fullName = `${model.lastName}${model.firstName}`
|
||||||
|
},
|
||||||
defaultValue: '三'
|
defaultValue: '三'
|
||||||
}, {
|
}, {
|
||||||
name: 'lastName',
|
name: 'lastName',
|
||||||
text: '姓',
|
text: '姓',
|
||||||
onChange: (state, v, { model }) => model.fullName = `${model.lastName}${model.firstName}`,
|
onChange: (state, v, { model }) => {
|
||||||
|
model.fullName = `${model.lastName}${model.firstName}`
|
||||||
|
},
|
||||||
defaultValue: '张'
|
defaultValue: '张'
|
||||||
}, {
|
}, {
|
||||||
name: 'fullName',
|
name: 'fullName',
|
||||||
|
@ -43,6 +43,6 @@
|
|||||||
"@types/node": "^15.12.4",
|
"@types/node": "^15.12.4",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"vite": "^3.0.4"
|
"vite": "^3.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,6 @@
|
|||||||
"@types/node": "^15.12.4",
|
"@types/node": "^15.12.4",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"vite": "^3.0.4"
|
"vite": "^3.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -45,6 +45,6 @@
|
|||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"sass": "^1.35.1",
|
"sass": "^1.35.1",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"vite": "^3.0.4"
|
"vite": "^3.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -31,6 +31,6 @@
|
|||||||
"@types/node": "^15.12.4",
|
"@types/node": "^15.12.4",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "^4.7.4",
|
||||||
"vite": "^3.0.4"
|
"vite": "^3.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
735
pnpm-lock.yaml
generated
735
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user