docs: fix the incorrect version of antdv in codesandbox (#4942)
parent
57469f4be8
commit
b336d3acca
|
@ -1,4 +1,5 @@
|
|||
import { getParameters } from 'codesandbox/lib/api/define';
|
||||
import packageInfo from '../../../package.json';
|
||||
|
||||
const indexHtml = `<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
@ -63,7 +64,7 @@ export function getCodeSandboxParams(code: string, meta: Meta): string {
|
|||
dependencies: {
|
||||
...getDeps(code),
|
||||
vue: 'next',
|
||||
'ant-design-vue': 'next',
|
||||
'ant-design-vue': packageInfo.version,
|
||||
},
|
||||
devDependencies: {
|
||||
'@vue/cli-plugin-babel': '~4.5.0',
|
||||
|
|
Loading…
Reference in New Issue