当前位置:网站首页>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可以给组件取任意的名字,不取的话就是默认的名字。
边栏推荐
- [technology development-26]: data security of new information and communication networks
- 【附源码】基于知识图谱的智能推荐系统-Sylvie小兔
- 【LeetCode】501. Mode in binary search tree (2 wrong questions)
- Design and implementation of high availability website architecture
- 问题解决:AttributeError: ‘NoneType‘ object has no attribute ‘append‘
- 数据库和充值都没有了
- Using druid to connect to MySQL database reports the wrong type
- Introduce reflow & repaint, and how to optimize it?
- 【LeetCode】404. Sum of left leaves (2 brushes of wrong questions)
- 使用druid連接MySQL數據庫報類型錯誤
猜你喜欢
ELFK部署
【LeetCode】110. Balanced binary tree (2 brushes of wrong questions)
[download white paper] does your customer relationship management (CRM) really "manage" customers?
Linux安装Redis
A label making navigation bar
Yolov5 model training and detection
丸子百度小程序详细配置教程,审核通过。
Introduce reflow & repaint, and how to optimize it?
Voice chip wt2003h4 B008 single chip to realize the quick design of intelligent doorbell scheme
TCP security of network security foundation
随机推荐
2022/02/13
Pytorch register_ Hook (operate on gradient grad)
Yyds dry goods inventory intelligent fan based on CC2530 design
丸子百度小程序详细配置教程,审核通过。
[micro service SCG] 33 usages of filters
Avoid material "minefields"! Play with super high conversion rate
100 basic multiple choice questions of C language (with answers) 04
Flume配置4——自定义MYSQLSource
Talk about the things that must be paid attention to when interviewing programmers
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Why do you understand a16z? Those who prefer Web3.0 Privacy Infrastructure: nym
February database ranking: how long can Oracle remain the first?
低度酒赛道进入洗牌期,新品牌如何破局三大难题?
Azkaban实战
Start the remedial work. Print the contents of the array using the pointer
Serious bugs with lifted/nullable conversions from int, allowing conversion from decimal
2021 Li Hongyi machine learning (2): pytorch
How to make a cool ink screen electronic clock?
Security level
Chinese natural language processing, medical, legal and other public data sets, sorting and sharing