2.2 KiB
Welcome to Your New Wails3 Project!
Congratulations on generating your Wails3 application! This README will guide you through the next steps to get your project up and running.
Getting Started
-
Navigate to your project directory in the terminal.
-
To run your application in development mode, use the following command:
wails3 dev
This will start your application and enable hot-reloading for both frontend and backend changes.
-
To build your application for production, use:
wails3 build
This will create a production-ready executable in the
build
directory.
Exploring Wails3 Features
Now that you have your project set up, it's time to explore the features that Wails3 offers:
-
Check out the examples: The best way to learn is by example. Visit the
examples
directory in thev3/examples
directory to see various sample applications. -
Run an example: To run any of the examples, navigate to the example's directory and use:
go run .
Note: Some examples may be under development during the alpha phase.
-
Explore the documentation: Visit the Wails3 documentation for in-depth guides and API references.
-
Join the community: Have questions or want to share your progress? Join the Wails Discord or visit the Wails discussions on GitHub.
Project Structure
Take a moment to familiarize yourself with your project structure:
frontend/
: Contains your frontend code (HTML, CSS, JavaScript/TypeScript)main.go
: The entry point of your Go backendapp.go
: Define your application structure and methods herewails.json
: Configuration file for your Wails project
Next Steps
- Modify the frontend in the
frontend/
directory to create your desired UI. - Add backend functionality in
main.go
. - Use
wails3 dev
to see your changes in real-time. - When ready, build your application with
wails3 build
.
Happy coding with Wails3! If you encounter any issues or have questions, don't hesitate to consult the documentation or reach out to the Wails community.