当前位置:网站首页>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变量操作
- Icu4c 70 source code download and compilation (win10, vs2022)
- A label making navigation bar
- Using druid to connect to MySQL database reports the wrong type
- Azkaban概述
- Sqoop命令
- Azkaban安装部署
- Yolov5 model training and detection
- Which common ports should the server open
- spoon插入更新oracle数据库,插了一部分提示报错Assertion botch: negative time
猜你喜欢
Marubeni Baidu applet detailed configuration tutorial, approved.
Openresty ngx Lua Execution stage
【附源码】基于知识图谱的智能推荐系统-Sylvie小兔
2021 Li Hongyi machine learning (2): pytorch
Icu4c 70 source code download and compilation (win10, vs2022)
Elfk deployment
Naacl 2021 | contrastive learning sweeping text clustering task
2.常见的请求方法
A label colorful navigation bar
【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)
随机推荐
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
Can you really learn 3DMAX modeling by self-study?
Pytest (5) - assertion
Linux安装Redis
Why is this an undefined behavior- Why is this an undefined behavior?
Talk about the things that must be paid attention to when interviewing programmers
LeetCode --- 1071. Great common divisor of strings problem solving Report
Bumblebee: build, deliver, and run ebpf programs smoothly like silk
[机缘参悟-38]:鬼谷子-第五飞箝篇 - 警示之一:有一种杀称为“捧杀”
Blue bridge - maximum common divisor and minimum common multiple
Hmi-30- [motion mode] the module on the right side of the instrument starts to write
Introduce reflow & repaint, and how to optimize it?
Exploration of short text analysis in the field of medical and health (I)
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Yolov5 model training and detection
100 basic multiple choice questions of C language (with answers) 04
Traditional chips and AI chips
Idea inheritance relationship
【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)
[micro service SCG] 33 usages of filters