使用vite + vue3 + typescript + vant 搭个应用【1】
vue3 和 ts必定是大趋势,为了了解一下,上手来试试
环境
- node --version v14.16.1,v14以上都能使用
安装项目
# npm 6.x
npm init @vitejs/app my-vue-app --template vue
# npm 7+, 需要额外的双横线:
npm init @vitejs/app my-vue-app -- --template vue
# yarn
yarn create @vitejs/app my-<