当前位置:网站首页>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可以給組件取任意的名字,不取的話就是默認的名字。
边栏推荐
- GFS distributed file system
- A tab Sina navigation bar
- "C zero foundation introduction hundred knowledge and hundred cases" (72) multi wave entrustment -- Mom shouted for dinner
- 8. Commodity management - commodity classification
- Apache Web page security optimization
- STL container
- openresty ngx_ Lua execution phase
- Introduce reflow & repaint, and how to optimize it?
- Azkaban概述
- Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
猜你喜欢
Traditional chips and AI chips
Sqoop命令
"C zero foundation introduction hundred knowledge and hundred cases" (72) multi wave entrustment -- Mom shouted for dinner
Practical case of SQL optimization: speed up your database
[technology development-26]: data security of new information and communication networks
Introduce reflow & repaint, and how to optimize it?
问题解决:AttributeError: ‘NoneType‘ object has no attribute ‘append‘
ELK日志分析系统
openresty ngx_lua执行阶段
Can you really learn 3DMAX modeling by self-study?
随机推荐
Scientific research: are women better than men?
Flume配置4——自定义MYSQLSource
Openresty ngx Lua Execution stage
Medusa installation and simple use
tuple and point
Naacl 2021 | contrastive learning sweeping text clustering task
GFS分布式文件系统
[技术发展-26]:新型信息与通信网络的数据安全
[機緣參悟-38]:鬼穀子-第五飛箝篇 - 警示之一:有一種殺稱為“捧殺”
Character painting, I use characters to draw a Bing Dwen Dwen
8. Commodity management - commodity classification
Eight days of learning C language - while loop (embedded) (single chip microcomputer)
February database ranking: how long can Oracle remain the first?
[机缘参悟-38]:鬼谷子-第五飞箝篇 - 警示之一:有一种杀称为“捧杀”
Bumblebee: build, deliver, and run ebpf programs smoothly like silk
Zabbix
[Yu Yue education] National Open University spring 2019 0505-22t basic nursing reference questions
Variables in postman
Acwing第 58 场周赛【完结】
Voice chip wt2003h4 B008 single chip to realize the quick design of intelligent doorbell scheme