第一步:cnpm install或者yarn install,当前所有命令必须当前工程目录下进行,目录结构如下:
第二步: 在控制台输入命令:npm run dev,控制台打印出如下画面,恭喜表示本项目启动成功拉。
第三步:启动报错
第四步: 解决方案:
npm install @vue/babel-plugin-transform-vue-jsx --save-dev
第一步:cnpm install或者yarn install,当前所有命令必须当前工程目录下进行,目录结构如下:
第二步: 在控制台输入命令:npm run dev,控制台打印出如下画面,恭喜表示本项目启动成功拉。
第三步:启动报错
第四步: 解决方案:
npm install @vue/babel-plugin-transform-vue-jsx --save-dev