Skip to content

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

Tmplit-material

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.

Usage

npm install tmplits-material

Use it in your tmplits project:

<md-filled-button >I'm a button!</md-filled-button>

To use a theme

    <!-- 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'>
    ...

Updating the library

Install the version of material you want to use:

npm install --save-dev @material/web

Then run the build script:

npm run build

Details


Assets

  • tmplits-material-0.1.0.tgz

Download activity

  • Total downloads 2
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all