Min's blog

I choose to see the beauties in the world.

导航

2019年9月2日

摘要: location.hash="aaa" history.pushState({},'', "home") history.replaceState() history.go(-1) = history.back() 跳到某一个栈的位置 history.go() 可以正值也可以负值 栈结构,先进后出 阅读全文

posted @ 2019-09-02 17:18 Min77 阅读(150) 评论(0) 推荐(0) 编辑

摘要: 什么是路由? 1.routing就是通过互联的网络把信息从源地址传输到目的地址的活动 2.路由是决定数据包从来源到目的地的路径 3.转送将输入端的数据转移到合适的输出端 4.路由本质上是一个映射表,决定了数据包的指向 1.后端渲染、服务端渲染 后端处理url和页面的映射关系, eg: jsp(jav 阅读全文

posted @ 2019-09-02 14:49 Min77 阅读(113) 评论(0) 推荐(0) 编辑

摘要: 1.安装 npm install -g @vue/cli 2.vue create xxxx 3.runtime-only/ runtime-compiler 一般项目选择runtime only 阅读全文

posted @ 2019-09-02 14:24 Min77 阅读(74) 评论(0) 推荐(0) 编辑