How To Use Plugins
Command Line
You can use plugins through command line options, eg:
.svrxrc.js
config file
.svrxrc.js
config fileAnd also, you can enable and config a plugin through plugins
in .svrxrc.js
file, eg:
Then run svrx
in the root place of your project, we'll install plugin markdown
, qrcode
, webpack
, and start them automatically.
scope
You can specific a scoped plugin with @<scope>/<name>
.
For example, if the package name of a plugin is svrx-plugin-foo
, and the scope name is bar
, then you can use it like so:
Or:
Last updated
Was this helpful?