如何使用https提供离子应用程序?

use*_*776 14 ssl https ionic-framework ionic2

运行ionic serve(ionic serve --lab)允许在http:// localhost:8100/ionic-lab上运行应用程序

尝试访问https:// localhost:8100/ionic-lab会导致:

SSL连接错误

有没有办法在https上运行应用程序?

我按照链接中的说明来克服SSL错误,但无法弄清楚如何使用离子(即我不知道如何使用命令启动服务器时使用cert.pem&key.pem文件ionic serve --lab)