Skip to content
This repository was archived by the owner on Aug 30, 2019. It is now read-only.
This repository was archived by the owner on Aug 30, 2019. It is now read-only.

Question: Installation process not clear #81

@LuisMCunha

Description

@LuisMCunha

Hi,

I've been trying to integrate ionic-material-design-lite in my current ionic project, but have not, so far, been 100% successful.
I ran bower install ionic-material-design-lite and pasted the following lines below the ionic imports (when I pasted them above I got errors about angular not being defined, so I assume this is the correct way):

<link href="/lib/ionic-material-design-lite/dist/css/ionic.material-design-lite.min.css" rel="stylesheet">
<script src="lib/ionic-material-design-lite/dist/js/ionic.material-design-lite.bundle.min.js"></script>

This transformed the layout on android immediately, but not on iOS (as expected) so I added the line:

  $ionicMaterialConfigProvider.enableForAllPlatforms();

to my .config() , but without luck and all my attempts to include ionicMaterialConfigProvider as a module resulted in the following error:

0 871882 error Uncaught Error: [$injector:modulerr] Failed to instantiate module localpower due to:
Error: [$injector:modulerr] Failed to instantiate module $ionicMaterialConfigProvider due to:
Error: [$injector:nomod] Module '$ionicMaterialConfigProvider' is not......2), http://192.168.1.187:8101/lib/ionic/js/ionic.bundle.js, Line: 13212

So my question is, what else do I have to do to completely install the framework?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions