当前位置:网站首页>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可以給組件取任意的名字,不取的話就是默認的名字。
边栏推荐
- Pytest (4) - test case execution sequence
- Spark SQL learning bullet 2
- Openresty ngx Lua Execution stage
- Kotlin - 协程 Coroutine
- Application and Optimization Practice of redis in vivo push platform
- ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
- Last words record
- Yolov5 model training and detection
- A label making navigation bar
- From task Run get return value - getting return value from task Run
猜你喜欢

Avoid material "minefields"! Play with super high conversion rate

Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool

Cut! 39 year old Ali P9, saved 150million
![Hmi-30- [motion mode] the module on the right side of the instrument starts to write](/img/6b/09bb8fd95b707a459534eaeb72eb59.jpg)
Hmi-30- [motion mode] the module on the right side of the instrument starts to write

Azkaban实战
![[200 opencv routines] 99 Modified alpha mean filter](/img/df/1b7beb6746f416198fc405249852f8.jpg)
[200 opencv routines] 99 Modified alpha mean filter

Missile interception -- UPC winter vacation training match

丸子百度小程序详细配置教程,审核通过。

Android advanced interview question record in 2022

Unpool(nn.MaxUnpool2d)
随机推荐
openresty ngx_ Lua execution phase
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
[机缘参悟-38]:鬼谷子-第五飞箝篇 - 警示之一:有一种杀称为“捧杀”
【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)
[Yu Yue education] National Open University autumn 2018 8109-22t (1) monetary and banking reference questions
1.五层网络模型
Design of KTV intelligent dimming system based on MCU
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
ELK日志分析系统
Cut! 39 year old Ali P9, saved 150million
Hmi-30- [motion mode] the module on the right side of the instrument starts to write
When the low alcohol race track enters the reshuffle period, how can the new brand break the three major problems?
The most powerful new household god card of Bank of communications. Apply to earn 2100 yuan. Hurry up if you haven't applied!
Why do you understand a16z? Those who prefer Web3.0 Privacy Infrastructure: nym
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Openresty ngx Lua Execution stage
Design of kindergarten real-time monitoring and control system
A tab Sina navigation bar
Acwing game 58 [End]
Using druid to connect to MySQL database reports the wrong type