Skip to content

Commit

Permalink
远程加载备注
Browse files Browse the repository at this point in the history
  • Loading branch information
v1xingyue committed Jan 15, 2024
1 parent a47c65c commit 8be23fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ sidebar_position: 1
## 参考资料

1. `plasmo` 官方文档 [https://docs.plasmo.com/](https://docs.plasmo.com/)
2. 使用 `plasmo` 的参考示例 [https://github.com/PlasmoHQ/plasmo/network/dependents](https://github.com/PlasmoHQ/plasmo/network/dependents)
2. 使用 `plasmo` 的参考示例[https://github.com/PlasmoHQ/examples/](https://github.com/PlasmoHQ/examples/)
3. `google Chrome` 模块开发文档 [https://developer.chrome.com/docs/extensions/mv3/](https://developer.chrome.com/docs/extensions/mv3/)
4. `Firefox` 扩展开发文档 [https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions)
6 changes: 6 additions & 0 deletions docs/module4/remote.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@ import "https://www.googletagmanager.com/gtag/js?id=$PLASMO_PUBLIC_GTAG_ID";
```

官方提供了一个:[使用谷歌分析的一个实例](https://github.com/PlasmoHQ/examples/tree/main/with-google-analytics)

:::tip

Q: 为什么我在前端看不到远程加载呢?
A: Plasmo 中的 远程加载,其实是在打包时,将文件静态下载下来存储到本地。所以,你在运行中无法看到最新的远程资源。这一点也是需要注意的。
:::

0 comments on commit 8be23fd

Please sign in to comment.