当前位置:网站首页>Devtools的簡單使用
Devtools的簡單使用
2022-07-05 02:44: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可以給組件取任意的名字,不取的話就是默認的名字。
边栏推荐
- Single line function*
- Azkaban概述
- Moco V2 literature research [self supervised learning]
- Design and implementation of kindergarten management system
- Sqoop命令
- Naacl 2021 | contrastive learning sweeping text clustering task
- Eight days of learning C language - while loop (embedded) (single chip microcomputer)
- CAM Pytorch
- Advanced learning of MySQL -- Application -- Introduction
- [download white paper] does your customer relationship management (CRM) really "manage" customers?
猜你喜欢

Openresty ngx Lua Execution stage
![[uc/os-iii] chapter 1.2.3.4 understanding RTOS](/img/33/1d94583a834060cc31cab36db09d6e.jpg)
[uc/os-iii] chapter 1.2.3.4 understanding RTOS

Application and Optimization Practice of redis in vivo push platform

Asp+access campus network goods trading platform

Azkaban实战

Scientific research: are women better than men?

Introduce reflow & repaint, and how to optimize it?

Flume配置4——自定义MYSQLSource

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

Pytest (4) - test case execution sequence
随机推荐
Character painting, I use characters to draw a Bing Dwen Dwen
[技术发展-26]:新型信息与通信网络的数据安全
Design and practice of kubernetes cluster and application monitoring scheme
平台入驻与独立部署优缺点对比
GFS分布式文件系统
8. Commodity management - commodity classification
Medusa installation and simple use
Use the difference between "Chmod a + X" and "Chmod 755" [closed] - difference between using "Chmod a + X" and "Chmod 755" [closed]
Design and implementation of campus epidemic prevention and control system based on SSM
ELFK部署
Idea inheritance relationship
Zabbix
openresty ngx_lua執行階段
A tab Sina navigation bar
Exploration of short text analysis in the field of medical and health (II)
Video display and hiding of imitation tudou.com
【LeetCode】98. Verify the binary search tree (2 brushes of wrong questions)
SFTP cannot connect to the server # yyds dry goods inventory #
Yolov5 model training and detection
Cut! 39 year old Ali P9, saved 150million