File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ module.exports = (api, options) => {
3737 api . extendPackage ( pkg )
3838 api . render ( './template/base-app' , { name, ...options } )
3939
40- if ( options . popupPage ) {
40+ if ( options . components . popup ) {
4141 api . render ( './template/popup' , { name, ...options } )
4242
4343 pkg . vue . pages [ 'popup/popup' ] = {
@@ -46,7 +46,7 @@ module.exports = (api, options) => {
4646 }
4747 }
4848
49- if ( options . optionsPage ) {
49+ if ( options . components . options ) {
5050 api . render ( './template/options' , { name, ...options } )
5151
5252 pkg . vue . pages [ 'options/options' ] = {
@@ -55,7 +55,7 @@ module.exports = (api, options) => {
5555 }
5656 }
5757
58- if ( options . contentScript ) {
58+ if ( options . components . contentScript ) {
5959 api . render ( './template/content-script' , { ...options } )
6060 }
6161
You can’t perform that action at this time.
0 commit comments