vigor-user

vigor-user

Usage no npm install needed!

<script type="module">
  import vigorUser from 'https://cdn.skypack.dev/vigor-user';
</script>

README

Build Status Coverage Status MIT license

用户模块

需要配置的常量参数

  1. VIGOR_USER_REGISTER_ENABLED(用户注册开放)
  • true(开放)
  • 其它(关闭)
  1. VIGOR_OAUTH_GITHUB(GITHUB注册)
  • true(开放)
  • 其它(关闭)
  1. VIGOR_OAUTH_GITHUB_URL(GITHUB注册地址) 前提: VIGOR_OAUTH_GITHUB === "true" 值:登录GITHUB的OAUTH服务的访问地址

Setting travis and coveralls badges

  1. Sign in to travis and activate the build for your project.
  2. Sign in to coveralls and activate the build for your project.
  3. Replace {{github-user-name}}/{{github-app-name}} with your repo details like: "ospatil/generator-node-typescript".