aurelia-material-components
v0.0.0-ALPHA-0.0.13
Published
Material Components for Aurelia
Downloads
6
Maintainers
Readme
Material Components Adapter for Aurelia
Note
This project is not even close to a stable usable package. Until I manage to produce one or gather people to help me, please refer to Rabah Ghodbane's aurelia-mdc-plugin, which will load the MDC library for you and let you use the Material Components style.
NOTE: A more recently discovered library that could help you is Eyjolfur Vatne's aurelia-mdc-bridge.
Compile
For local development run
npm run build
For production and deployment, run
npm run publish:prerelease
For unpublishing, run
npm run unpublish $(node -p -e "require('./package.json').version")
Install
npm i -S aurelia-material-components
Use
// under Aurelia main.js
export function configure(aurelia) {
aurelia.use
.standardConfiguration();
aurelia.use
// ...
.plugin(PLATFORM.moduleName('aurelia-material-components'), (config) => {
// only if you want to use containerless components
config.useContainerless();
});
aurelia.start();
}
References
- https://github.com/material-components/material-components-web
- https://github.com/stasson/vue-mdc-adapter
- https://material.io/components/web/catalog
- https://material-components-web.appspot.com/
- https://github.com/google/material-design-lite (and)
- https://getmdl.io
- https://material.io
- https://material.io/components/web/catalog/auto-init/
- https://material.io/icons/
- http://google.github.io/material-design-icons/