1
爲什麼當我們生成項目, '--skip-服務器'Jhipster發電機在--skip-服務器跳到授權碼
喲jhipster --skip-服務器認證的
部分丟失。 (在AJS/A2上)。是嗎? 每次我需要粘貼的部分代碼(AuthServerProvider上AngularJS角或authExpiredInterceptor)對工作首頁
爲什麼當我們生成項目, '--skip-服務器'Jhipster發電機在--skip-服務器跳到授權碼
喲jhipster --skip-服務器認證的
部分丟失。 (在AJS/A2上)。是嗎? 每次我需要粘貼的部分代碼(AuthServerProvider上AngularJS角或authExpiredInterceptor)對工作首頁
因爲你沒有指定要與--auth
選項的身份驗證類型。 查看doc或運行yo jhipster:client --help
。
所以在你的情況下,你應該運行:yo jhipster:client --auth=jwt
爲JWT認證或你想要的。
行動中,我明白了,謝謝! –