A Materialize wrapper for Surface UI.
If available in Hex, the package can be installed
by adding surface_material
to your list of dependencies in mix.exs
:
def deps do
[
{:surface_material, "~> 0.1.0"}
]
end
- Install the deps with
mix deps.get
- Install the JS libs with
cd assets; yarn
mix esbuild default
to get the assets in thecatalogue
repository. (Make sure you're in the project directory. Typecd ..
if you're still insideassets
from the previous step)mix dev
to run the development server for the catalogue- Make changes to the components and test the API out in
http://localhost:4001
via examples or playgrounds.