vuepress-auth0-auth:使用Auth0的Vuepress身份验证

时间:2021-05-24 03:49:39
【文件属性】:
文件名称:vuepress-auth0-auth:使用Auth0的Vuepress身份验证
文件大小:74KB
文件格式:ZIP
更新时间:2021-05-24 03:49:39
JavaScript 使用Auth0对Vuepress应用进行身份验证 项目设置 克隆项目 润yarn 创建一个文件auth_config.js内/src/.vuepress/auth const config = { domain : "YOUR_AUTH0_DOMAIN" , clientId : "YOUR_CLIENT_ID" } ; export default config ; 将占位符替换为您各自的凭据(请确保auth0客户端应用程序的类型为“单页应用程序”) 运行yarn dev启动应用程序
【文件预览】:
vuepress-auth0-auth-main
----.gitignore(47B)
----package.json(484B)
----src()
--------guide()
--------index.md(1KB)
--------config()
--------.vuepress()
----outline.md(397B)
----README.md(507B)
----yarn.lock(245KB)

网友评论