-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
angular-material config #77
Comments
Hi Thaiat, I've just started trying out your generator, and it looks great. I wanted to add angular-material via bower and I followed the steps you laid out in the readme for adding a third party bower package. Do I need to manually inject it into the main.js or will gulp to that for me? I've been using grunt for my past development, but have wanted to try gulp for a little while, this seems like the perfect opportunity. Thanks! |
hi @ackushiw, you can take a look at that article : http://blog.aminjam.com/building-mobile-apps-with-famous-and-angular-material/ In addition to the browserify configuration in now to use angular-material in a sub module, you have to require it require('angular-material'); (same name you gave in the browserify configuration of Let me know if it worked |
Got it working!, Thanks for sharing the article, between this enhancement issue and the article I got everything linked up. Awesome work, I definitely like what you've got going here! |
thks, spread the word!!! |
seems like only the simple following configuration is now necessary: "browser" : {
"angular-sanitize": "./bower_components/angular-sanitize/angular-sanitize.js",
"angular-material": "./bower_components/angular-material/angular-material.js",
"angular-aria": "./bower_components/angular-aria/angular-aria.js",
},
"angular-material": {
"depends": [
"angular",
"angular-aria",
"angular-animate"
]
} don't forget also to add the necessary |
Seams like there is a conflict between angular-material and ionic. Mainly with touch events on mobile browsers, but also when emulating mobile devices. here is a link: angular/material#1826 |
the trick, if you want to use both material and ionic is to only reference the css of ionic |
The text was updated successfully, but these errors were encountered: