当前位置:网站首页>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可以給組件取任意的名字,不取的話就是默認的名字。
边栏推荐
- 1.五层网络模型
- [uc/os-iii] chapter 1.2.3.4 understanding RTOS
- openresty ngx_lua执行阶段
- The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
- The database and recharge are gone
- Bert fine tuning skills experiment
- 100 basic multiple choice questions of C language (with answers) 04
- D3js notes
- How to find hot projects in 2022? Dena community project progress follow-up, there is always a dish for you (1)
- Breaking the information cocoon - my method of actively obtaining information - 3
猜你喜欢
CAM Pytorch
Zabbix
Cut! 39 year old Ali P9, saved 150million
[technology development-26]: data security of new information and communication networks
Missile interception -- UPC winter vacation training match
Elk log analysis system
Character painting, I use characters to draw a Bing Dwen Dwen
Acwing第 58 场周赛【完结】
Bumblebee: build, deliver, and run ebpf programs smoothly like silk
Open source SPL optimized report application coping endlessly
随机推荐
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
Talk about the things that must be paid attention to when interviewing programmers
Zabbix
2021 Li Hongyi machine learning (3): what if neural network training fails
CAM Pytorch
Watch the online press conference of tdengine community heroes and listen to TD hero talk about the legend of developers
Elfk deployment
Tiny series rendering tutorial
Asp+access campus network goods trading platform
When the low alcohol race track enters the reshuffle period, how can the new brand break the three major problems?
Character painting, I use characters to draw a Bing Dwen Dwen
PHP cli getting input from user and then dumping into variable possible?
Unpool(nn.MaxUnpool2d)
spoon插入更新oracle数据库,插了一部分提示报错Assertion botch: negative time
The phenomenology of crypto world: Pioneer entropy
Pytorch register_ Hook (operate on gradient grad)
"C zero foundation introduction hundred knowledge and hundred cases" (72) multi wave entrustment -- Mom shouted for dinner
Pytest (4) - test case execution sequence
Video display and hiding of imitation tudou.com
A label colorful navigation bar