wails/website/docs
Anton Gilgur 7b8355a385
[v2] docs(menu): add imports and complete the example (post merge conflict) (#4742)
* [v2] docs(menu): add imports and complete the example (post merge conflict)

This partially redoes commit cb3305a2fc, as a merge conflict resolution seemed to have accidentally removed a large portion of the changes

- the example was missing imports, which [confused a user](https://stackoverflow.com/q/79827619/3431180), particularly due to the `rt` import alias
  - plus there are a good number of imports too, which this makes explicit
  - also give this file the title `menu.go` for clarity / explicitness, particularly to differentiate from the `NewApp` / `app.go` scaffold
- also handle the error at the end similar to [existing examples](4c464b3092/website/docs/guides/application-development.mdx (L54))

* add changelog entry per PR template
2025-12-01 19:16:00 +11:00
..
appendix feat(website): sync documents and add content (#1215) 2022-03-06 16:18:02 +11:00
community add GameStacker to community showcase (#4724) 2025-11-22 14:44:00 +11:00
gettingstarted docs: Add Linux PATH Update Commands to Installation Guide (#4340) 2025-06-07 18:12:44 +10:00
guides [v2] docs(app-dev): fix inconsistent indentation (#4730) 2025-11-30 17:40:51 +11:00
reference [v2] docs(menu): add imports and complete the example (post merge conflict) (#4742) 2025-12-01 19:16:00 +11:00
tutorials [v2] Add -devtools production build flag (#2725) 2023-06-19 06:45:01 +10:00
howdoesitwork.mdx [v2] docs(how): fix inconsistent indentation (#4733) 2025-11-25 10:16:01 +00:00
introduction.mdx Remove link to expired varly.app domain 2024-03-24 17:27:24 +11:00