Awesome
preact-mdl-example
An example using preact, preact-router, and preact-mdl with TypeScript and Webpack.
Note that this current relies on development version of preact-router and preact-mdl, as the built-in type definitions have not yet been released.
Installation
git clone https://github.com/tbekolay/preact-mdl-example.git
cd preact-mdl-example
npm install
Usage
For development, I recommend using
npm run debug
and navigating to http://localhost:8080/. The page will automatically be reloaded if any of the files change.
To build files that can be statically hosted, do
npm run build
The created files will be placed in the dist
folder.
License
MIT
Thanks
Thanks to @seveves for contributing!