Material Design for riot-material
list image component based onInstallation
You can install it via nodejs
npm install @riot-material/rm-list-image
or download one of the bundled file
/**
* `dist/index.js`
*/
requirejs.config({
paths: {
"@riot-material/rm-list-image": "path/to/@riot-material/rm-list-image",
},
});
require(['@riot-material/rm-list-image'], function (ListImageComponent) {
// ...
});
/**
* `dist/index.es.js`
* npm installation
*/
import ListImageComponent from "@riot-material/rm-list-image";
otherwise you can include the script in your project html
<script src="@riot-material/rm-list-image/index.js" />
and access it via
window.riotMaterial.components.listImage;