当前位置:网站首页>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可以给组件取任意的名字,不取的话就是默认的名字。
边栏推荐
- Spoon inserts and updates the Oracle database, and some prompts are inserted with errors. Assertion botch: negative time
- Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
- 问题解决:AttributeError: ‘NoneType‘ object has no attribute ‘append‘
- 【LeetCode】501. Mode in binary search tree (2 wrong questions)
- Medusa installation and simple use
- Naacl 2021 | contrastive learning sweeping text clustering task
- TCP security of network security foundation
- Zabbix
- Design of kindergarten real-time monitoring and control system
- [download white paper] does your customer relationship management (CRM) really "manage" customers?
猜你喜欢

看 TDengine 社区英雄线上发布会,听 TD Hero 聊开发者传奇故事

The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety

Acwing第 58 场周赛【完结】

Exploration of short text analysis in the field of medical and health (II)

spoon插入更新oracle数据库,插了一部分提示报错Assertion botch: negative time

openresty ngx_lua執行階段

【LeetCode】222. The number of nodes of a complete binary tree (2 mistakes)

Design of KTV intelligent dimming system based on MCU

ELFK部署

Design and implementation of high availability website architecture
随机推荐
Idea inheritance relationship
Kotlin - 协程 Coroutine
Yolov5 model training and detection
【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)
Apache build web host
D3js notes
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
[technology development-26]: data security of new information and communication networks
d3js小记
TCP security of network security foundation
tuple and point
Use the difference between "Chmod a + X" and "Chmod 755" [closed] - difference between using "Chmod a + X" and "Chmod 755" [closed]
Acwing第 58 场周赛【完结】
Learn game model 3D characters, come out to find a job?
Vb+access hotel service management system
Design and implementation of kindergarten management system
Icu4c 70 source code download and compilation (win10, vs2022)
[200 opencv routines] 99 Modified alpha mean filter
Richview trvunits image display units
When to catch an exception and when to throw an exception- When to catch the Exception vs When to throw the Exceptions?