@slsplus/ui

UI Tool for Serverless Plus CLI

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@slsplus/ui
200.0.1-beta-63 years ago3 years agoMinified + gzip package size for @slsplus/ui in KB

Readme

Serverless Plus UI
npm NPM downloads Build Status semantic-release
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