This package is not maintained anymore, use zetoff:accounts-material-ui instead. // T
Current version 1.1.0
https://github.com/studiointeract/accounts-ui
meteor add std:accounts-material
We support the standard configuration in the account-ui package. But have extended with some new options.
meteor add accounts-password
meteor add materialize:materialize
meteor add std:accounts-material
import React from 'react';
import { Accounts } from 'meteor/std:accounts-material';
Accounts.ui.config({
passwordSignupFields: 'NO_PASSWORD',
loginPath: '/',
});
if (Meteor.isClient) {
ReactDOM.render(<Accounts.ui.LoginForm />, document.body)
}
meteor add accounts-password
meteor add materialize:materialize
meteor add std:accounts-material
meteor add kadira:flow-router-ssr
import { FlowRouter } from 'meteor/kadira:flow-router-ssr';
import { Accounts } from 'meteor/std:accounts-material';
import React from 'react';
Accounts.ui.config({
passwordSignupFields: 'NO_PASSWORD',
loginPath: '/login',
onSignedInHook: () => FlowRouter.go('/'),
onSignedOutHook: () => FlowRouter.go('/')
});
FlowRouter.route("/login", {
action(params) {
mount(MainLayout, {
content: <Accounts.ui.LoginForm />
});
}
});
Made by the creative folks at Studio Interact