当前位置:网站首页>Devtools的简单使用
Devtools的简单使用
2022-07-05 02:43:00 【13少啊】
一.Devtools作用

方便我们实时地观察自己写的数据和组件的状况等。
二.安装


<template>
<div class=""></div>
</template>
<script>
export default {
data() {
return {
name:'芜湖', //单项数据
arr:[
{
a:1,
b:2
}
],
}
},
name: '',
methods: {
}
}
</script>
<style scoped>
</style>
找到插件 下载玩后
打开谷歌浏览器-------->更多程序---------->扩展程序------------>将下载好的拖入进去即可。
三.使用
代码1:
<template>
<div class=""></div>
</template>
<script>
export default {
data() {
return {
name:'芜湖', //单项数据
arr:[
{
a:1,
b:2
}
],
}
},
name: '',
methods: {
}
}
</script>
<style scoped>
</style>

代码:
<template>
<div class=""></div>
</template>
<script>
export default {
data() {
return {
one:'one',
arr:[1,2,3]
}
},
name:'One组件',
methods: {
fn(){
console.log(123213);
}
}
}
</script>
<style scoped>
</style>

name可以给组件取任意的名字,不取的话就是默认的名字。
边栏推荐
- openresty ngx_lua執行階段
- Moco V2 literature research [self supervised learning]
- Richview trvunits image display units
- 使用druid連接MySQL數據庫報類型錯誤
- Avoid material "minefields"! Play with super high conversion rate
- How to find hot projects in 2022? Dena community project progress follow-up, there is always a dish for you (1)
- When the low alcohol race track enters the reshuffle period, how can the new brand break the three major problems?
- Apache Web page security optimization
- 数据库和充值都没有了
- 2.常见的请求方法
猜你喜欢

openresty ngx_lua执行阶段
![[download white paper] does your customer relationship management (CRM) really](/img/e3/f130d071afb7309fdbf8a9c65b1d38.jpg)
[download white paper] does your customer relationship management (CRM) really "manage" customers?

Naacl 2021 | contrastive learning sweeping text clustering task

【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)

Bumblebee: build, deliver, and run ebpf programs smoothly like silk

LeetCode 314. Binary tree vertical order traversal - Binary Tree Series Question 6

ELFK部署
![[技术发展-26]:新型信息与通信网络的数据安全](/img/13/10c8bd340017c6516edef41cd3bf6f.png)
[技术发展-26]:新型信息与通信网络的数据安全

Variables in postman

Zabbix
随机推荐
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
d3js小记
【LeetCode】222. The number of nodes of a complete binary tree (2 mistakes)
Security level
Practical case of SQL optimization: speed up your database
[technology development-26]: data security of new information and communication networks
【LeetCode】404. Sum of left leaves (2 brushes of wrong questions)
Avoid material "minefields"! Play with super high conversion rate
[understanding of opportunity -38]: Guiguzi - Chapter 5 flying clamp - warning one: there is a kind of killing called "killing"
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Linux安装Redis
[機緣參悟-38]:鬼穀子-第五飛箝篇 - 警示之一:有一種殺稱為“捧殺”
Sqoop安装
[micro service SCG] 33 usages of filters
Using druid to connect to MySQL database reports the wrong type
使用druid连接MySQL数据库报类型错误
Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
Flume配置4——自定义MYSQLSource
Naacl 2021 | contrastive learning sweeping text clustering task
Vb+access hotel service management system