Fish Tank VueJS Component Module
npm install @fishtank/fishtank-vue
Please reference https://fishtank.bna.com for detailed documentation
Import the component from the library module
import { FishTankCard } from @fishtank/fishtank-vue
extend default {
components:{
FishTankCard
}
}
Import the component library module, and reference the desired component
const fishtank = require(“@fishtank-vue”)
extend default {
components:{
fishtank.FishTankCard
}
}
OR
const card = require(“@fishtank-vue”).FishTankCard
extend default {
components:{
card
}
}
Fishtank-vue provides styles are compiled and self-contained within the component itself. There are no additional CSS imports.
# install dependencies
npm install
# or
yarn
# serve with hot reload at localhost:8080
npm run serve
#or
yarn serve