Skip to content
Myr

docs: Fix broken cdn link due to trailing fullwidth period (#980)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by 永津 · committed by GitHub · parent ba0a79a · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:website/i18n/zh-CN/docusaurus-plugin-content-docs/current/installation.mdx+1 added-1 removed
16 unmodified lines
17- NPM: `npm install immer`18- CDN: 暴露的全局变量是 `immer`19 - Unpkg: `<script src="https://unpkg.com/immer"></script>`20 - JSDelivr: `<script src="https://cdn.jsdelivr.net/npm/immer"></script>`21 - ⚠️ 使用 CDN 时,最好检查浏览器中的 url 并查看它解析为哪个版本,这样当更新发布时,您的用户不会意外地获得更新的版本。因此,请改用如下网址:https://unpkg.com/immer@6.0.3/dist/immer.umd.production.min.js。在 URL 中将 production.min 替换为 development 以进行开发构建。21 - ⚠️ 使用 CDN 时,最好检查浏览器中的 url 并查看它解析为哪个版本,这样当更新发布时,您的用户不会意外地获得更新的版本。因此,请改用如下网址:https://unpkg.com/immer@6.0.3/dist/immer.umd.production.min.js 。在 URL 中将 production.min 替换为 development 以进行开发构建。2223## 选择您的 Immer 版本2425_本节仅适用于版本 6 及更高版本_
57 unmodified lines