当前位置:网站首页>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可以給組件取任意的名字,不取的話就是默認的名字。
边栏推荐
- Which common ports should the server open
- A label making navigation bar
- Blue bridge - maximum common divisor and minimum common multiple
- this+闭包+作用域 面试题
- Kotlin - 协程 Coroutine
- [技术发展-26]:新型信息与通信网络的数据安全
- 2.常见的请求方法
- Acwing第 58 场周赛【完结】
- Master Fur
- [source code attached] Intelligent Recommendation System Based on knowledge map -sylvie rabbit
猜你喜欢
Yolov5 model training and detection
CAM Pytorch
Flume配置4——自定义MYSQLSource
【LeetCode】501. Mode in binary search tree (2 wrong questions)
Tiny series rendering tutorial
Vb+access hotel service management system
Design and implementation of kindergarten management system
[技术发展-26]:新型信息与通信网络的数据安全
问题解决:AttributeError: ‘NoneType‘ object has no attribute ‘append‘
College Students' innovation project management system
随机推荐
ELK日志分析系统
Watch the online press conference of tdengine community heroes and listen to TD hero talk about the legend of developers
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 1)
Video display and hiding of imitation tudou.com
[technology development-26]: data security of new information and communication networks
[understanding of opportunity -38]: Guiguzi - Chapter 5 flying clamp - warning one: there is a kind of killing called "killing"
使用druid连接MySQL数据库报类型错误
Acwing第 58 场周赛【完结】
Using druid to connect to MySQL database reports the wrong type
Azkaban概述
[uc/os-iii] chapter 1.2.3.4 understanding RTOS
Unpool(nn.MaxUnpool2d)
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
openresty ngx_lua执行阶段
Apache Web page security optimization
Last words record
Exploration of short text analysis in the field of medical and health (I)
The most powerful new household god card of Bank of communications. Apply to earn 2100 yuan. Hurry up if you haven't applied!
Idea inheritance relationship