Fish Tank VueJS Component Module
npm install @fishtank/fishtank-vue
- Cards
- Modal - Modal Component
- Buttons
- Primary
- Secondary
- Destructive
- Radios
- Switches
- Loaders
- Text Input
Import the component from the library module
import { Card } from @fishtank/fishtank-vue
extend default {
components:{
Card
}
}
Import the component library module, and reference the desired component
const fishtank = require(“@fishtank-vue”)
extend default {
components:{
fishtank.Card
}
}
Fishtank-vue provides styles as:
- dist/fishtank-vue.css: a single CSS file of all component styles
- dist/styles: component specific stylesheets
Import the full library, or per component styles, into your project as necessary.
# install dependencies
npm install
# or
yarn
# serve with hot reload at localhost:8080
npm run serve
#or
yarn serve