大飞_dafei

导航

2021年6月27日 #

Vite 搭建Vue 开发环境

摘要: Vite 搭建Vue 开发环境 npm init @vitejs/app --template vue 或者 npm init vite-app <project-name> cd xxx npm install (or `yarn`) npm run dev (or `yarn dev`) Vit 阅读全文

posted @ 2021-06-27 22:12 大飞_dafei 阅读(147) 评论(0) 推荐(0) 编辑

一图看懂Vue3 新增可复用组合式API(Reusability & Composition)

摘要: Vue2 和 Vue3 对比 一图看懂Vue3 新增可复用组合式API(Reusability & Composition) Vue2 和 Vue3 对比Vue3 支持大多数Vue特性Vue3中设计了一套更强大的组合API代替了Vue2中的Option API,复用性更强了更好的支持TS最主要: V 阅读全文

posted @ 2021-06-27 16:22 大飞_dafei 阅读(171) 评论(0) 推荐(0) 编辑

'.' 不是内部或外部命令,也不是可运行的程序

摘要: '.' 不是内部或外部命令,也不是可运行的程序 windwos 中目录和linux 中目录使用不一样 .\node_modules\.bin\webpack -v #不是全局安装的webpack 用这个命令 查看版本(windows中执行) ./node_modules/.bin/webpack - 阅读全文

posted @ 2021-06-27 11:12 大飞_dafei 阅读(1865) 评论(0) 推荐(0) 编辑