aurelia-ui-toolkits / cm-bridges

Aurelia Contact Manager tutorial using KendoUI, Materialize and Syncfusion bridge
MIT License
0 stars 2 forks source link

auto prepare materialize #5

Closed Thanood closed 7 years ago

Thanood commented 7 years ago

Prepares Materialize after npm install:

The last item in this list ensures that the fonts are loaded from the correct path. Since font files are referenced as relative paths in materialize.min.css as ../fonts/<file> this structure is necessary to ensure fonts are found by the server where they are expected.

These styles are now loaded from index.html instead of calling <require> in app.html so requirejs does not try to load it from a bundle.