vue3.0 main.ts createApp报错

import { createApp } from 'vue
import { createApp } from 'vue' 报错
Module ‘"…/node_modules/vue/types"’ has no exported member ‘createApp’. Did you mean to use ‘import createApp from “…/node_modules/vue/types”’ instead?

报错

哥们 其实错不在你
不 其实就是你的错
vue3.0 main.ts createApp报错_第1张图片
创建项目的时候能长点心吗,别把vue2.x当vue3.x用

你可能感兴趣的:(Vue2.x,vue-cli3,typescript,vue)