@buckhamduffy/bd-components
v1.17.1
Published
BuckhamDuffy's Vue and SCSS components for development.
Readme
BuckhamDuffy Components
BuckhamDuffy's Vue and SCSS components for development.
Installation
npm install --save @buckhamduffy/bd-componentsUsage
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 - Run
npm run build:watchfor live reloading.
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.
