Next Generation Material UI for Vue.js
Following the Material Design UI components for the web specification, we developed the BalmUI library that contains a set of high quality components and demos for building rich, interactive user interfaces.
yarn add balm-ui
// OR
npm install --save balm-ui
balm.config
setup for Dart Sassbalm.config = {
styles: {
extname: 'scss',
dartSass: true // !important
}
// Other Options...
};
/path/to/my-project/app/fonts
.Edit my-project/app/styles/global/_vendor.scss
/* import BalmUI styles */
@use 'balm-ui/dist/balm-ui.scss';
Edit my-project/app/scripts/main.js
import Vue from 'vue';
import BalmUI from 'balm-ui'; // Official Google Material Components
import BalmUIPlus from 'balm-ui/dist/balm-ui-plus'; // BalmJS Team Material Components
Vue.use(BalmUI); // Mandatory
Vue.use(BalmUIPlus); // Optional
Edit my-project/app/styles/global/_vendor.scss
@use 'balm-ui/components/core.scss';
@use 'balm-ui/components/button/button.scss';
@use 'balm-ui/components/icon/icon.scss'; // Optional
Edit my-project/app/scripts/main.js
import Vue from 'vue';
import UiButton from 'balm-ui/components/button';
Vue.use(UiButton);
Enjoy 👻
: Extra Idea for UI
We’d love for you to contribute and make BalmUI even better than it is today! Please make sure to read the Contributing Guide before making a pull request. You can submit any ideas as pull requests or as GitHub issues.
We officially support the last two versions of every major browser. Specifically, we test on the following browsers:
Author: balmjs
Live Demo: https://material.balmjs.com/#/
GitHub: https://github.com/balmjs/balm-ui
#vuejs #vue #javascript #vue-js