Topic: \"btn\" element not working from docs
Titanium free asked 6 years ago
<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
Titanium free answered 6 years ago
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
Spanners pro answered 6 years ago
<template> <btn color="primary">Primary</btn> </template> import { Btn, } export default { name: "myTemplateName" components: { Btn, } }
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: 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