关于前端:Vue3使用百度amis低代码平台踩坑

2次阅读

共计 294 个字符,预计需要花费 1 分钟才能阅读完成。

参考文章
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
正文完
 0