Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions docs/src/content/docs/guides/dev/project-structure.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
title: Project Structure
description: Understand the file layout for a typical Wails project
sidebar:
order: 1
---

This page is a simple reference to the files created when you initiate a new project using the Vanilla template
Comment thread
symball marked this conversation as resolved.

```
/
├── main.go # Application entry point
├── greetservice.go # Example backend service exposed to frontend
├── go.mod # Go module definition
├── config.yml # Wails/project configuration
├── Taskfile.yml # Task runner for dev/build commands
├── build/ # Packaging and platform-specific assets
│ ├── appicon.png # Default app icon
│ ├── appicon.icon/ # Icon source files
│ ├── darwin/ # macOS build config
│ ├── windows/ # Windows build config
│ ├── linux/ # Linux build config
│ ├── android/ # Android build config
│ ├── ios/ # iOS build config
│ └── docker/ # Containerized build environment
├── frontend/ # Frontend (Vite + React + TS)
│ ├── index.html # HTML entry point
│ ├── src/
│ │ └── main.js # Frontend bootstrap
│ ├── public/ # Static assets
│ ├── dist/ # Built frontend output
│ ├── bindings/ # Auto-generated Go bindings
│ ├── package.json # Frontend dependencies
│ ├── vite.config.ts # Vite configuration
│ └── tsconfig.json # TypeScript configuration
├── bin/ # Compiled binaries
└── .task/ # Task runner cache
```

:::note[Frontend project files]
If you choose to use a different starter template, contents of `frontend/src` will differ depending on your chosen framework
:::
2 changes: 1 addition & 1 deletion v3/UNRELEASED_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ After processing, the content will be moved to the main changelog and this file
-->

## Added
<!-- New features, capabilities, or enhancements -->
- Added missing project structure page

## Changed
<!-- Changes in existing functionality -->
Expand Down
Loading