Skip to content
Java wrapper enabling Material Design Lite look and feel in GWT projects.
CSS Java JavaScript HTML Shell
Branch: dev
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
material-design-lite-gwt-demo
material-design-lite-gwt-launch
material-design-lite-gwt-lib
src/main/javadoc
.gitignore
.travis.yml
LICENSE
README.md
deploy_release.sh
deploy_snapshot.sh
pom.xml
sun_checks_eclipse.xml

README.md

material-design-lite-gwt

Build Status Maven Central License Issues

mdl-gwt is a Java wrapper enabling material design lite look and feel in GWT projects.

Showcases

1. Last build

You can take a peek at the upcoming release being cooked over here.

2. Releases

Getting started

1. Setup a GWT project

It is assumed that you already setup a GWT project. If not, this tutorial might be of help.

2. Setup the host page

Include material design lite in your host page.

<head>
  <link rel="stylesheet" href="https://code.getmdl.io/1.1.1/material.blue_grey-red.min.css">

  <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">

  <script src="https://storage.googleapis.com/code.getmdl.io/1.1.1/material.min.js"></script>
</head>

3. Include the dependency in your pom.xml

Include the mdl-gwt library as a dependency in your Maven project.

<dependency>
  <groupId>com.github.ilyes4j</groupId>
  <artifactId>material-design-lite-gwt-lib</artifactId>
  <version>0.1.0</version>
  <scope>provided</scope>
</dependency>

4. Import the library in your GWT module

Finally, make sure to inherit the library GWT module in the GWT module of the project.

<module>
  <inherits name="com.github.ilyes4j.gwt.mdl.Mdl" />
</module>

License

Mohamed ilyes Dimassi, 2016. Licensed under the Apache-2 license.

You can’t perform that action at this time.