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();
}