5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-06 11:52:04 +08:00

Grammar fixes

This commit is contained in:
Fabio Massaioli 2025-02-13 03:30:41 +01:00
parent fe38cd91c5
commit 8f815e9974

View File

@ -209,7 +209,7 @@ This will show you how to organize your code into reusable services and handle e
:::note :::note
Simplified import paths are only available when using frontend bundlers. Simplified import paths are only available when using frontend bundlers.
If have a vanilla frontend that does not employ a bundler, If you prefer a vanilla frontend that does not employ a bundler,
you will have to import either `index.js` or `qrservice.js` manually. you will have to import either `index.js` or `qrservice.js` manually.
::: :::
<br/> <br/>
@ -468,7 +468,7 @@ This will show you how to organize your code into reusable services and handle e
8. ## Supporting dynamic configurations 8. ## Supporting dynamic configurations
In the example above we used an hardcoded route `/qrservice`. In the example above we used a hardcoded route `/qrservice`.
If you edit `main.go` and change the `Route` option without updating `main.js`, If you edit `main.go` and change the `Route` option without updating `main.js`,
the application will break: the application will break:
@ -577,7 +577,7 @@ This will show you how to organize your code into reusable services and handle e
} }
``` ```
Now update `main.js` to use the `URL` method in place of an hardcoded path: Now update `main.js` to use the `URL` method in place of a hardcoded path:
```js title="frontend/src/main.js" ins={1,11-12} ```js title="frontend/src/main.js" ins={1,11-12}
import { QRService } from "./bindings/changeme"; import { QRService } from "./bindings/changeme";