0.0.0-ALPHA-0.0.13 • Published 6 years ago

aurelia-material-components v0.0.0-ALPHA-0.0.13

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
6 years ago

Material Components Adapter for Aurelia

npm Version TravisCI CircleCI

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