@robertkern/vue-material
| Install | |
|---|---|
npm install @robertkern/vue-material |
|
| Latest Version: | 0.1.6 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Oct 16, 2017 |
| Links: | GitHub · npm |
Material Design Components for Vue
@robertkern/vue-material is very much a work-in-progress implementation of the material-components-web library as Vue components.
Please don't expect this to work for you just yet :-)
import VueMdc from '@robertkern/vue-material'
import '@robertkern/vue-material.css'
Vue.use(VueMdc)
I'm recommending using the @material sass files so you can customize the colors.
In your own sass file you'll need to import the @material styles like the following.
You can choose to import fewer if you're not planning to use all components.
# Define your theme colors:
$mdc-theme-primary: #651fff;
$mdc-theme-accent: #2962ff;
@import "@material/button/mdc-button.scss";
@import "@material/card/mdc-card.scss";
@import "@material/checkbox/mdc-checkbox.scss";
@import "@material/dialog/mdc-dialog.scss";
@import "@material/drawer/mdc-drawer.scss";
@import "@material/form-field/mdc-form-field.scss";
@import "@material/icon-toggle/mdc-icon-toggle.scss";
@import "@material/layout-grid/mdc-layout-grid.scss";
@import "@material/list/mdc-list.scss";
@import "@material/menu/mdc-menu.scss";
@import "@material/radio/mdc-radio.scss";
@import "@material/ripple/mdc-ripple.scss";
@import "@material/select/mdc-select.scss";
@import "@material/snackbar/mdc-snackbar.scss";
@import "@material/textfield/mdc-textfield.scss";
@import "@material/theme/mdc-theme.scss";
@import "@material/toolbar/mdc-toolbar.scss";
@import "@material/typography/mdc-typography.scss";
Docker
Build: docker build -t robertkern/vue-material .
Run: docker run -d --rm -p 8082:8080 robertkern/vue-material
Run and enter to bash: docker run -it --rm --entrypoint bash -p 8080:8082 robertkern/vue-material
Dev
./dev.sh
cd ../../
npm run build:watch
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.6 | ^2.4.2 | MIT | |
| 0.1.5 | ^2.4.2 | MIT | |
| 0.1.4 | ^2.4.2 | MIT | |
| 0.1.3 | ^2.4.2 | MIT | |
| 0.1.2 | ^2.4.2 | MIT | |
| 0.1.1 | ^2.4.2 | MIT | |
| 0.1.0 | ^2.4.2 | MIT | |
| 0.0.25 | ^2.4.2 | MIT | |
| 0.0.24 | ^2.4.2 | MIT | |
| 0.0.23 | ^2.4.2 | MIT | |
| 0.0.22 | ^2.4.2 | MIT | |
| 0.0.21 | ^2.4.2 | MIT | |
| 0.0.20 | ^2.4.2 | MIT | |
| 0.0.19 | ^2.4.2 | MIT | |
| 0.0.18 | ^2.4.2 | MIT | |
| 0.0.17 | ^2.4.2 | MIT | |
| 0.0.16 | ^2.4.2 | MIT | |
| 0.0.15 | ^2.4.2 | MIT | |
| 0.0.14 | ^2.4.2 | MIT | |
| 0.0.13 | ^2.4.2 | MIT | |
| 0.0.12 | ^2.4.2 | MIT | |
| 0.0.11 | ^2.4.2 | MIT | |
| 0.0.10 | ^2.4.2 | MIT | |
| 0.0.9 | ^2.4.2 | MIT | |
| 0.0.8 | ^2.4.2 | MIT | |
| 0.0.7 | ^2.2.6 | MIT | |
| 0.0.6 | ^2.2.6 | MIT | |
| 0.0.5 | ^2.2.6 | MIT | |
| 0.0.4 | ^2.2.6 | MIT | |
| 0.0.3 | ^2.2.0 | MIT |
Showing the latest 30 of 31. See every release on npm
Pre-releases (2)
| Version | Released | Vue | License |
|---|---|---|---|
| 0.0.1-alpha.2 | ^2.2.0 | MIT | |
| 0.0.1-alpha.1 | ^2.2.0 | MIT |