@riot-material/rm-button

You can install it via nodejs ```sh npm install @riot-material/rm-button ``` or download one of the bundled file ```js /** * `dist/index.amd.js`, * `dist/index.amd+libs.js` * `dist/index.umd.js`, * `dist/index.umd+libs.js` */ requirejs.co


License
MIT
Install
npm install @riot-material/rm-button@2.1.2

Documentation

Riot.js implementation of Material Design

Installation

You can install it via nodejs

npm install riot-material

or download one of the bundled file

/**
 * `dist/index.js`
 * `dist/index.min.js`
 * `dist/index+libs.js`
 * `dist/index+libs.min.js`
 */
requirejs.config({
  paths: {
      // "what-input": "path/to/what-input // if you do not use +libs bundle
      "riot-material": "path/to/riot-material",
   },
});

require(['riot-material'], function (riotMaterial) {
    // ...
});

/**
 * `dist/index.es.js`
 * npm installation
 */
import * as riotMaterial from "riot-material";

otherwise you can include the script in your project html

<!-- if you want to use the what-input library elsewhere -->
<script src="path/to/what-input.umd.js"></script>
<script src="riot-material/index.js"></script>
<!-- <script src="riot-material/index.min.js"></script> -->

<!-- or, if you want to use only riotMaterial -->
<script src="riot-material/index+libs.js"></script>
<!-- <script src="riot-material/index+libs.min.js"></script> -->

and access it via

window.riotMaterial;

Note: "riot" dependency is treated as external, be sure to have it when installing manually or including via html

Documentation

Importing this package will occur in registering all the components globally in riot

Refer to each sub-package documentation: