当前位置:网站首页>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可以给组件取任意的名字,不取的话就是默认的名字。
边栏推荐
- Apache Web page security optimization
- [micro service SCG] 33 usages of filters
- Spoon inserts and updates the Oracle database, and some prompts are inserted with errors. Assertion botch: negative time
- Elfk deployment
- 1.五层网络模型
- Uniapp navigateto jump failure
- A tab Sina navigation bar
- Icu4c 70 source code download and compilation (win10, vs2022)
- Variables in postman
- Design and implementation of community hospital information system
猜你喜欢

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

Scientific research: are women better than men?

8. Commodity management - commodity classification

【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)

A tab Sina navigation bar

Zabbix

Missile interception -- UPC winter vacation training match

openresty ngx_ Lua execution phase
![ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience](/img/3b/0ae9fbadec5dbdfc6981f1f55546a5.jpg)
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience

Design of KTV intelligent dimming system based on MCU
随机推荐
Design and implementation of campus epidemic prevention and control system based on SSM
openresty ngx_lua执行阶段
d3js小记
Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
Asynchronous and promise
Scientific research: are women better than men?
Application and Optimization Practice of redis in vivo push platform
The most powerful new household god card of Bank of communications. Apply to earn 2100 yuan. Hurry up if you haven't applied!
[understanding of opportunity -38]: Guiguzi - Chapter 5 flying clamp - warning one: there is a kind of killing called "killing"
Kotlin - 协程 Coroutine
Cut! 39 year old Ali P9, saved 150million
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
Summary and practice of knowledge map construction technology
Breaking the information cocoon - my method of actively obtaining information - 3
Design and implementation of high availability website architecture
返回二叉树中两个节点的最低公共祖先
LeetCode --- 1071. Great common divisor of strings problem solving Report
Redis distributed lock, lock code logic
ELK日志分析系统
[technology development-26]: data security of new information and communication networks