build: vite依赖升级
This commit is contained in:
@@ -20,12 +20,12 @@
|
||||
"vue": "^3.2.37"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vuepress/bundler-vite": "^2.0.0-beta.49",
|
||||
"@vuepress/cli": "^2.0.0-beta.49",
|
||||
"@vuepress/client": "^2.0.0-beta.49",
|
||||
"@vuepress/plugin-search": "^2.0.0-beta.49",
|
||||
"@vuepress/theme-default": "^2.0.0-beta.49",
|
||||
"vite": "~2.9.14",
|
||||
"vuepress": "^2.0.0-beta.49"
|
||||
"@vuepress/bundler-vite": "^2.0.0-beta.51",
|
||||
"@vuepress/cli": "^2.0.0-beta.51",
|
||||
"@vuepress/client": "^2.0.0-beta.51",
|
||||
"@vuepress/plugin-search": "^2.0.0-beta.51",
|
||||
"@vuepress/theme-default": "^2.0.0-beta.51",
|
||||
"vite": "~3.1.3",
|
||||
"vuepress": "^2.0.0-beta.51"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { viteBundler } from '@vuepress/bundler-vite';
|
||||
import { defineUserConfig } from '@vuepress/cli';
|
||||
import { defaultTheme } from '@vuepress/theme-default';
|
||||
const { searchPlugin } = require('@vuepress/plugin-search');
|
||||
import { searchPlugin } from '@vuepress/plugin-search'
|
||||
|
||||
import path from 'path';
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
<demo-block type="form" :config="[{
|
||||
type: 'row',
|
||||
labelWidth: 100,
|
||||
span: 8,
|
||||
items: [{
|
||||
name: 'text',
|
||||
text: '配置1',
|
||||
|
||||
@@ -17,12 +17,16 @@
|
||||
<demo-block type="form" :config="[{
|
||||
name: 'firstName',
|
||||
text: '名',
|
||||
onChange: (state, v, { model }) => model.fullName = `${model.lastName}${model.firstName}`,
|
||||
onChange: (state, v, { model }) => {
|
||||
model.fullName = `${model.lastName}${model.firstName}`
|
||||
},
|
||||
defaultValue: '三'
|
||||
}, {
|
||||
name: 'lastName',
|
||||
text: '姓',
|
||||
onChange: (state, v, { model }) => model.fullName = `${model.lastName}${model.firstName}`,
|
||||
onChange: (state, v, { model }) => {
|
||||
model.fullName = `${model.lastName}${model.firstName}`
|
||||
},
|
||||
defaultValue: '张'
|
||||
}, {
|
||||
name: 'fullName',
|
||||
|
||||
Reference in New Issue
Block a user