How To Use Plugins
Command Line
svrx --plugin markdown -p qrcode # -p is alias of --plugin
svrx --markdown --qrcode # set a pluginName to true to start a plugin quickly
svrx --plugin "qrcode?ui=false" # use 'name?querystring' to add params to a plugin
svrx --plugin "webpack@0.0.3" # use 'name@version' to specify the version of plugin.svrxrc.js config file
.svrxrc.js config file// .svrxrc.js
module.exports = {
plugins: [
'markdown',
{
name: 'qrcode',
options: {
ui: false,
},
},
{
name: 'webpack',
version: '0.0.3',
},
],
};scope
Last updated
Was this helpful?