refactor(markdown-vetur): support generate webstorm types (#5900)

This commit is contained in:
neverland
2020-03-24 20:43:28 +08:00
committed by GitHub
parent 7ae3a4a1b1
commit c74fbf58a4
12 changed files with 422 additions and 226 deletions

View File

@@ -5,8 +5,8 @@ import { SRC_DIR, getVantConfig, ROOT } from '../common/constant';
// generate vetur tags & attributes
export function genVeturConfig() {
const vantCongig = getVantConfig();
const options = get(vantCongig, 'build.vetur');
const vantConfig = getVantConfig();
const options = get(vantConfig, 'build.vetur');
if (options) {
markdownVetur.parseAndWrite({