【发布时间】:2020-07-14 18:33:52
【问题描述】:
我有以下 HTML
<div id="app">
<v-app id="inspire">
<v-treeview :items="items"></v-treeview>
</v-app>
</div>
以及以下 Javascript:
new Vue({
el: '#app',
vuetify: new Vuetify(),
data: () => ({
items: [
{
id: 1,
name: 'Applications :',
children: [
{ id: 2, name: 'Calendar : app' },
],
},
{
id: 15,
name: 'Downloads :',
children: [
{ id: 16, name: 'October : pdf' },
],
}
],
}),
})
假设我想将 Downloads 标签的 font-size 放大或加粗。
这可以用 Vuetify 和它的 v-treeview 实现吗?如果是这样,怎么做?似乎没有办法控制标签的样式。
【问题讨论】:
标签: javascript css vue.js vuetify.js