随笔分类 - Vue
摘要:Vue-Router 路由属性解析 Vue2.0 Vue-Router 3.0 export default new Router({ mode: 'history', //路由模式,取值为history与hash base: '/', //打包路径,默认为/,可以修改 routes: [ { pa
阅读全文
摘要:Vue 3.0+Vite 2.0+Vue Router 4.0.6+Vuex 4.0.0+TypeScript +Yarn 1、使用Vite 创建项目 #使用Yarn yarn create @vitejs/app my-vue-app --template vue-ts #my-vue-app 项
阅读全文

浙公网安备 33010602011771号