当前位置:网站首页>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可以给组件取任意的名字,不取的话就是默认的名字。
边栏推荐
- Use the difference between "Chmod a + X" and "Chmod 755" [closed] - difference between using "Chmod a + X" and "Chmod 755" [closed]
- Linux安装Redis
- Azkaban概述
- SFTP cannot connect to the server # yyds dry goods inventory #
- [200 opencv routines] 99 Modified alpha mean filter
- Pytorch register_ Hook (operate on gradient grad)
- openresty ngx_ Lua execution phase
- 平台入驻与独立部署优缺点对比
- spoon插入更新oracle数据库,插了一部分提示报错Assertion botch: negative time
- [illumination du destin - 38]: Ghost Valley - chapitre 5 Flying clamp - one of the Warnings: There is a kind of killing called "hold Kill"
猜你喜欢
Apache Web page security optimization
Vb+access hotel service management system
【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)
Introduce reflow & repaint, and how to optimize it?
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
Learn game model 3D characters, come out to find a job?
Action News
Elfk deployment
Design of kindergarten real-time monitoring and control system
Voice chip wt2003h4 B008 single chip to realize the quick design of intelligent doorbell scheme
随机推荐
LeetCode --- 1071. Great common divisor of strings problem solving Report
ELK日志分析系统
【LeetCode】501. Mode in binary search tree (2 wrong questions)
Serious bugs with lifted/nullable conversions from int, allowing conversion from decimal
Medusa installation and simple use
TCP security of network security foundation
The phenomenology of crypto world: Pioneer entropy
d3js小记
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
Prometheus monitors the correct posture of redis cluster
Design of KTV intelligent dimming system based on MCU
Blue bridge - maximum common divisor and minimum common multiple
[technology development-26]: data security of new information and communication networks
【附源码】基于知识图谱的智能推荐系统-Sylvie小兔
【LeetCode】404. Sum of left leaves (2 brushes of wrong questions)
Talk about the things that must be paid attention to when interviewing programmers
Action News
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
Zabbix
Which common ports should the server open