Here is some BEX code that uses a Chrome API method which requires a path to an HTML file:
chrome.devtools.panels.create(
'My Panel',
'icons/icon-48x48.png',
'assets/panel.html',
undefined
)
All works well when src-bex/assets/panel.html exists.
How can a panel.vue file be used to generate this panel.html file in the assets fold开发者_C百科er?
I tried creating panel.vue in src/assets and src-bex/assets, hoping that the panel.vue file would magically appear. It did not.
I also reviewd https://quasar.dev/quasar-cli-vite/quasar-config-js for options to have Vue process files which are not referenced by Vue code.
精彩评论