![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
FOR=10000
好好学习 天天向上
展开
-
vue在页面渲染出来前显示{{变量名}}怎么办用 v-cloak
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> [v-cloak]{原创 2018-12-25 10:04:47 · 5559 阅读 · 2 评论 -
vue 组件和路由 cdn引入方式的写法。。。。
组件component的写法有全局写法和局部写法,全局写法在所有vue实例中都可用,局部写在一个vue实例里面 全局写法: <root></root> Vue.component('root',{template:'<div>全局全局</div>'}) 这样我们就把就定义了一歌全局组件,root,直接使用<root>标签调用,...原创 2019-01-09 10:44:07 · 19211 阅读 · 9 评论 -
Vue 记录!
Vue路由传值 <router-link :to="{name:'path',query:{id:44}}"></router-link> 路由接收值! this.$route.query.id Vue编程导航 this.$router.go(-1)前进后退 this.$router.push() 直接跳到某页面 可以传字符串或对象{name:'',query:...原创 2019-03-14 00:26:01 · 101 阅读 · 0 评论