2019年7月29日
摘要: vue-cli 脚手架,就是说,在 nodejs 中利用 webpack ,帮我们对 vue 进行了配置,使我们可以很方便的在 nodejs 中对 vue 来进行操作 vue 项目的渲染组件分两种方式渲染 runtime-complier 与 runtime-only runtime-complie 阅读全文
posted @ 2019-07-29 17:45 Web引领者 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1. vue 路由:vue-router 路由在 web 中有两种 第一种:hash 带 hash 值前面带 # 第二种:history对象 这种路由不带 # 2. 引入 vue-router.js // 因为 vue-router.js 是基于 vue 实现的,所以,我们还需要在引入 vue-ro 阅读全文
posted @ 2019-07-29 17:38 Web引领者 阅读(146) 评论(0) 推荐(0) 编辑