官方文档:https://buefy.org/documentation/customization/
1. 安装
cnpm install buefy
2. 配置
// 在 main.js 中添加:
import Buefy from 'buefy'
import 'buefy/dist/buefy.css'
Vue.use(Buefy)
3. 使用
- 🌰:顶部导航栏
<template>
<b-navbar>
<template slot="brand
cnpm install buefy
// 在 main.js 中添加:
import Buefy from 'buefy'
import 'buefy/dist/buefy.css'
Vue.use(Buefy)
<template>
<b-navbar>
<template slot="brand