diff --git a/website/docs/guides/frontend.mdx b/website/docs/guides/frontend.mdx index 84489cd99..6c9d0cf27 100644 --- a/website/docs/guides/frontend.mdx +++ b/website/docs/guides/frontend.mdx @@ -3,7 +3,7 @@ ## Script Injection -When Wails serves your `index.html`, by default, it will inject 2 script entries into the `` tag to load `/wails/bindings.js` +When Wails serves your `index.html`, by default, it will inject 2 script entries into the `` tag to load `/wails/ipc.js` and `/wails/runtime.js`. These files install the bindings and runtime respectively. The code below shows where these are injected by default: diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/frontend.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/frontend.mdx index af76b5d2c..1cb7ba724 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/frontend.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/frontend.mdx @@ -2,7 +2,7 @@ ## 脚本注入 -当 Wails 为您的`index.html`提供服务时,默认情况下,它会将 2 个脚本注入``标签以加载`/wails/bindings.js`和`/wails/runtime.js`。 这些文件分别安装绑定和运行时。 +当 Wails 为您的`index.html`提供服务时,默认情况下,它会将 2 个脚本注入``标签以加载`/wails/ipc.js`和`/wails/runtime.js`。 这些文件分别安装绑定和运行时。 下面的代码显示了这些默认注入的位置: diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/guides/frontend.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/guides/frontend.mdx index af76b5d2c..1cb7ba724 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/guides/frontend.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/guides/frontend.mdx @@ -2,7 +2,7 @@ ## 脚本注入 -当 Wails 为您的`index.html`提供服务时,默认情况下,它会将 2 个脚本注入``标签以加载`/wails/bindings.js`和`/wails/runtime.js`。 这些文件分别安装绑定和运行时。 +当 Wails 为您的`index.html`提供服务时,默认情况下,它会将 2 个脚本注入``标签以加载`/wails/ipc.js`和`/wails/runtime.js`。 这些文件分别安装绑定和运行时。 下面的代码显示了这些默认注入的位置: diff --git a/website/versioned_docs/version-v2.0.0-beta.34/guides/frontend.mdx b/website/versioned_docs/version-v2.0.0-beta.34/guides/frontend.mdx index 84489cd99..6c9d0cf27 100644 --- a/website/versioned_docs/version-v2.0.0-beta.34/guides/frontend.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.34/guides/frontend.mdx @@ -3,7 +3,7 @@ ## Script Injection -When Wails serves your `index.html`, by default, it will inject 2 script entries into the `` tag to load `/wails/bindings.js` +When Wails serves your `index.html`, by default, it will inject 2 script entries into the `` tag to load `/wails/ipc.js` and `/wails/runtime.js`. These files install the bindings and runtime respectively. The code below shows where these are injected by default: diff --git a/website/versioned_docs/version-v2.0.0-beta.35/guides/frontend.mdx b/website/versioned_docs/version-v2.0.0-beta.35/guides/frontend.mdx index 2ace49c4e..7b94345ad 100644 --- a/website/versioned_docs/version-v2.0.0-beta.35/guides/frontend.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.35/guides/frontend.mdx @@ -2,7 +2,7 @@ ## Script Injection -When Wails serves your `index.html`, by default, it will inject 2 script entries into the `` tag to load `/wails/bindings.js` +When Wails serves your `index.html`, by default, it will inject 2 script entries into the `` tag to load `/wails/ipc.js` and `/wails/runtime.js`. These files install the bindings and runtime respectively. The code below shows where these are injected by default: