tmplits-material 0.1.0
Install from the command line:
Learn more about npm packages
$ npm install @loupeteam/tmplits-material@0.1.0
Install via package.json:
"@loupeteam/tmplits-material": "0.1.0"
About this version
This tmplit is a prebuilt material design library for tmplits. By installing this library you can use material design components in your tmplits project. Tmplits will automatically load the material design css and javascript files for you after installing this library.
npm install tmplits-material
Use it in your tmplits project:
<md-filled-button >I'm a button!</md-filled-button>
<!-- Include the themes you support -->
<link href="app/css/dark.css" rel="stylesheet">
<link href="app/css/light.css" rel="stylesheet">
<!-- Add the class for the active theme to the body tag-->
<body class='light'>
...
Install the version of material you want to use:
npm install --save-dev @material/web
Then run the build script:
npm run build
Details
- tmplits-material
-
loupeteam
- over 1 year ago
- MIT
- 3 dependencies
Assets
- tmplits-material-0.1.0.tgz
Download activity
- Total downloads 2
- Last 30 days 0
- Last week 0
- Today 0