当前位置:网站首页>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可以給組件取任意的名字,不取的話就是默認的名字。
边栏推荐
- TCP security of network security foundation
- 【LeetCode】111. Minimum depth of binary tree (2 brushes of wrong questions)
- this+闭包+作用域 面试题
- Application and Optimization Practice of redis in vivo push platform
- 使用druid連接MySQL數據庫報類型錯誤
- Design and implementation of kindergarten management system
- Pytest (4) - test case execution sequence
- Android advanced interview question record in 2022
- Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
- The phenomenology of crypto world: Pioneer entropy
猜你喜欢

openresty ngx_lua執行階段

A tab Sina navigation bar

Pytest (4) - test case execution sequence

A label making navigation bar

Cut! 39 year old Ali P9, saved 150million

Design and practice of kubernetes cluster and application monitoring scheme

2021 Li Hongyi machine learning (1): basic concepts

openresty ngx_ Lua execution phase

this+闭包+作用域 面试题

Scientific research: are women better than men?
随机推荐
Naacl 2021 | contrastive learning sweeping text clustering task
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
Why is this an undefined behavior- Why is this an undefined behavior?
SFTP cannot connect to the server # yyds dry goods inventory #
[Yu Yue education] National Open University spring 2019 0505-22t basic nursing reference questions
A label colorful navigation bar
Practical case of SQL optimization: speed up your database
Application and Optimization Practice of redis in vivo push platform
Flume配置4——自定义MYSQLSource
Avoid material "minefields"! Play with super high conversion rate
STL container
Design and practice of kubernetes cluster and application monitoring scheme
A label making navigation bar
Character painting, I use characters to draw a Bing Dwen Dwen
openresty ngx_lua执行阶段
The database and recharge are gone
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
LeetCode 314. Binary tree vertical order traversal - Binary Tree Series Question 6
2021 Li Hongyi machine learning (1): basic concepts
Acwing第 58 场周赛【完结】