我是vue.js的新手.我的问题是:
在一个*.vue文件如下:
<template>
<div id="a">
</div>
</template>
<script>
export default {
name: 'SquareButton',
props: ['color']
}
</script>
<style scoped>
#a {
background-color: ?
}
<style>
我怎么使用background-color:
号props color
(现在是?
号).
谢谢你.