Reputation: 831
I thought it should be simple but I cant understand how to implement useraccounts:semantic-ui to my Meteor app. I added the package, and then what? Can anyone give me a hint. Thanks.
Upvotes: 0
Views: 454
Reputation: 5156
Here is a brief overview on how to include the useraccounts:semantic-ui
package:
meteor add semantic:ui-css useraccounts:semantic-ui accounts-password
(or any other account service).atForm
template which is used to handle all sorts of user account operations, e.g. sign up, login: {{> atForm}}
.atNavButton
template which is used to display a sign up or login button: {{> atNavButton}}
(optional).Please note: You can lock the atForm
template to a particular state with the state
argument, e.g. {{> atForm state='signUp'}}
. You probably want to do this for creating different routes (/signup
or /login
).
Upvotes: 2