likes
comments
collection
share

Vue3使用百度amis低代码平台踩坑

作者站长头像
站长
· 阅读数 50

参考文章https://www.jianshu.com/p/bb4...

但是原文章是使用typescript, 如果想用es6. 只需要用vite创建项目即可, 用默认的webpack创建项目会报错.

# npm 6.x
npm init vite@latest my-vue-app --template vue

# npm 7+, 需要额外的双横线:
npm init vite@latest my-vue-app -- --template vue

# yarn
yarn create vite my-vue-app --template vue

# pnpm
pnpm create vite my-vue-app -- --template vue
转载自:https://segmentfault.com/a/1190000041898921
评论
请登录