@buckhamduffy/bd-components
v1.11.0
Published
BuckhamDuffy's Vue and SCSS components for development.
Downloads
338
Readme
BuckhamDuffy Components
BuckhamDuffy's Vue and SCSS components for development.
Installation
npm install --save @buckhamduffy/bd-components
Usage
import Vue from 'vue';
import BDComponents from '@buckhamduffy/bd-components';
Vue.use(BDComponents);
Usage (SCSS)
// Import the BuckhamDuffy Components
// Bootstrap 4
@import "@buckhamduffy/bd-components/sass/bootstrap4";
// Bootstrap 5
@import "@buckhamduffy/bd-components/sass/bootstrap5";
NOTE: Sometimes webpack has trouble importing files with a @ prefix, so use the below instead
// Import the BuckhamDuffy Components
// Bootstrap 4
@import "../../@buckhamduffy/bd-components/sass/bootstrap4";
// Bootstrap 5
@import "../../@buckhamduffy/bd-components/sass/bootstrap5";
Development
- Checkout the repository
git clone [email protected]:buckhamduffy/bd-components.git
- cd into the repository
cd bd-components
- Install the dependencies
npm install
You can link this project globally for use in other projects with npm link
. Then in the project you want to use it in run npm link @buckhamduffy/bd-components
. This will then symlink the local package to point to your development version.