Meteor帐户不显示输入字段

时间:2016-07-12 22:16:29

标签: meteor meteor-accounts

我正在研究Meteor Accounts。我有路由和AccountsTemplate配置,但当我在路由页面上时,输入字段不显示。

这是我的AccountsTemplate配置:

AccountsTemplates.configure({
  defaultTemplate: 'atForm',
  defaultLayout: 'Appbody',
  defaultContentRegion: 'main',
  showForgotPasswordLink: true,
  enablePasswordChange: true,
 sendVerificationEmail: true,
 confirmPassword: true,
 forbidClientAccountCreation: false,
 showPlaceholders: true,
 continuousValidation: true,
 negativeValidation: true,
  defaultLayoutRegions: {},
  texts: {
      button: {
          signUp: "Register Now!",
      }
    }
});

AccountsTemplates.configureRoute('signIn', {
  name: 'signin',
  path: '/signin'
});

AccountsTemplates.configureRoute('signUp', {
  name: 'join',
  path: '/join'
});

AccountsTemplates.configureRoute('forgotPwd');

AccountsTemplates.configureRoute('resetPwd', {
  name: 'resetPwd',
  path: '/reset-password'
});

但是,在浏览器中查看时,对于登录和注册页面,输入字段都是隐藏的。为什么会这样?

1 个答案:

答案 0 :(得分:0)

下载帐户时:核心包含帐户:无样式,您还需要安装帐户:密码(或字段不会显示)