docs: fix the incorrect version of antdv in codesandbox (#4942)

pull/4944/head
John 3 years ago committed by GitHub
parent 57469f4be8
commit b336d3acca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save