meteor-useraccounts / mdl

Meteor sign up and sign in templates styled for Material Design Lite
MIT License
6 stars 1 forks source link

How do I make this show up? #3

Open jdheeter opened 8 years ago

jdheeter commented 8 years ago

Using Meteor 1.3. When I install this package plus the CSS I don't see any difference in the login template?

kctang commented 8 years ago

How did you install this package and the CSS? What are you seeing in the login template now? Is this an (MDL) UI related issue or the entire useraccounts package is not working for you? Any errors (server/browser console).

It would be easier to help if you provided the steps to reproduce or URL to see the issue.

jdheeter commented 8 years ago

in my .Meteor/packages file I have :

autopublish
twbs:bootstrap
barbatus:stars-rating
accounts-ui
accounts-password
iron:router
meteor-base
mobile-experience
mongo
blaze-html-templates
session
jquery
tracker
logging
reload
random
ejson
spacebars
check
standard-minifier-css
standard-minifier-js
arboleya:electrify
zodiase:mdl
useraccounts:mdl
zodiase:mdl-prompt
accounts-base
useraccounts:core
underscore
useraccounts:flow-routing
useraccounts:iron-routing

in my HTML I call {{> loginButtons}}

when I launch the site and click the sign_in link, the default login dialogue pops up, it doesn't have any MDL theming. Using the MDL classes on buttons and other objects on the page seems to work correctly?

Thanks for your help.

kctang commented 8 years ago

I would check these:

  1. MDL is installed correctly (e.g. package like zodiase:mdl is working). This can be confirmed if you are able to create (other) blaze templates in your application with MDL theme.
  2. When the page loads, do you see any JavaScript errors or network request errors? Use the Chrome debugger console/network tabs.
  3. To confirm that useraccounts MDL template loads, you should see styles form the MDL theme on your template. Stuff like the mdl-* classes, depending on which mdl template you are in. Example: class="at-form mdl-grid mdl-grid--no-spacing mdl-cell mdl-cell--12-col". If you see these, then MDL theme has loaded and is likely some other issue.

Hope these help.