umi-chrome-extensions-template icon indicating copy to clipboard operation
umi-chrome-extensions-template copied to clipboard

基于 Umi 的 Chrome 插件开发模板

Results 7 umi-chrome-extensions-template issues
Sort by recently updated
recently updated
newest added

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....

![image](https://user-images.githubusercontent.com/1269296/117133310-aa7f2d00-add6-11eb-9ac5-749fa46bf033.png) ![image](https://user-images.githubusercontent.com/1269296/117133370-b8cd4900-add6-11eb-987f-ac3303175f21.png)

backgroup.ts中如下 function testBackground(){ alert("调用了") } 而打包后生成的backgroupjs 无法调用该方法 报错e.testBackground is not a function

基于脚手架创建的插件,打开 popup 页面时,提示错误如下; 倒是不影响功能,不过总是有点碍眼;还请大神知悉; 看情况应该是 umijs 的依赖 阿里 CDN 上的资源; ```shell Refused to load the script 'chrome-extension://at.alicdn.com/t/font_2357611_whan662da2.js' because it violates the following Content Security Policy directive: "script-src 'self' 'sha256-YM8uI2F+VfHULiDF1T+UCYmPwssvvWleyz5k2gtmTQo=' 'sha256-+lWedAM1kVPdV8EdccyVnyk5TRATyEpOrwBBAUk6ltM='"....

我的使用场景是:content-script会动态注入inject-script,inject-script也是使用ts,css使用less,这种情况下inject-script放在哪个目录合适?