Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bitbond/components

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitbond/components

Bitbond vue components

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

Bitbond Vue Components

Version

Installation

Install the npm package:

npm install @bitbond/components
# or with yarn
yarn add @bitbond/components

Add it as a plugin in your Vue project, e.g. create a file like bitbond/components.js in your plugins folder and add the following to it's contents:

// plugins/bitbond/components.js
import Vue from 'vue'
import bbComponents from '@bitbond/components'

Vue.use(bbComponents)

Import this plugin in your app's build step/file.

Dependencies

Required

Tailwindcss - It is expected that your project has Tailwind installed. The components then use the Tailwind classes provided by your Tailwind configuration.

For example, using the bb-btn component:

<bb-btn color="primary">Hello World</bb-btn>

This will use your Tailwind colour class for bg-primary-500 as the background colour for the button, and variant classes for hover/active states.

Optional

There is one optional dependency, Fontawesome.

The bb-icon component takes a name prop and applies that as a class to an underlying <i :class="'icon ${name}" /> element. The purpose is such that if you have Fontawesome installed in your app you can use the component like this:

<bb-icon name="fas fa-user-circle" />

Please see bbIcon.vue for more information.

Development

yarn install

Compiles and hot-reloads for development

yarn dev

Compiles and minifies for production

yarn run build

FAQs

Package last updated on 27 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc