Topic: \"btn\" element not working from docs
<btn color="primary">Primary</btn>But this one works fine:
<button type="button" class="btn btn-primary">Primary</button>I am confused, is this an error with me or the docs haven't been updated ? This is my index.js file:
import Vue from 'vue/dist/vue.js' window.Vue = Vue; import 'bootstrap/dist/css/bootstrap.min.css'; import 'mdbvue/build/css/mdb.css';
Jakub Strebeyko staff answered 6 years ago
Spanners pro answered 6 years ago
<template> <btn color="primary">Primary</btn> </template> import { Btn, } export default { name: "myTemplateName" components: { Btn, } }
Jakub Strebeyko staff answered 6 years ago
.vue
view/component? An exempt from the console containing the error message would've been helpful, too.
Best,
Kuba
Titanium answered 6 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: 4.6.0
- Device: HP Z600
- Browser: Chrome
- OS: Windows 10
- Provided sample code: Yes
- Provided link: No