@slsplus/ui
v0.0.1-beta-6
Published
UI Tool for Serverless Plus CLI
Downloads
395
Readme
Serverless Plus UI
Serverless Plus UI Tool
Usage
$ npm i @slsplus/ui --save
import { startServer } from '@slsplus/ui';
startServer();
Async parameter config
Sometimes, we should get parameters(eg: vpc list) list by api, but they are developer's cloud resources, so if you want to config these parameters, @slsplus/ui
server need authentication. So please config TENCENT_SECRET_ID
and TENCENT_SECRET_KEY
in global environment variables.
Of course, if you are using @slsplus/cli, you can run sp config
command to config it.
$ sp config
? SecretId ******
? SecretKey ******
Development
Install dependencies:
$ npm run bootstrap
Run server and client:
$ npm run dev
License
MIT License
Copyright (c) 2020 Serverless Plus