File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,40 @@ yarn serve
7575yarn build
7676```
7777
78+ ## Plugin options
79+
80+ Plugin options can be set inside your ` vue.config.js ` :
81+
82+ ``` js
83+ // vue.config.js
84+ module .exports = {
85+ pluginOptions: {
86+ browserExtension: {
87+ options: {
88+ // options...
89+ }
90+ }
91+ }
92+ }
93+ ```
94+
95+ - ** components**
96+ - Type: ` Object.<string, boolean> `
97+
98+ The browser extension components that will be managed by this plugin.
99+
100+ Valid components are:
101+ - popup
102+ - options
103+ - contentScript
104+ - standalone
105+
106+ ``` js
107+ components: {
108+ popup: true ,
109+ contentScript: true
110+ }
111+ ```
78112
79113## Testing
80114This library is following the standard styling of vue projects, and those are really the only tests to perform.
You can’t perform that action at this time.
0 commit comments