# w3app **Repository Path**: dinstone/w3app ## Basic Information - **Project Name**: w3app - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-12-27 - **Last Updated**: 2026-01-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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 1. Navigate to your project directory in the terminal. 2. 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. 3. 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: 1. **Check out the examples**: The best way to learn is by example. Visit the `examples` directory in the `v3/examples` directory to see various sample applications. 2. **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. 3. **Explore the documentation**: Visit the [Wails3 documentation](https://v3.wails.io/) for in-depth guides and API references. 4. **Join the community**: Have questions or want to share your progress? Join the [Wails Discord](https://discord.gg/JDdSxwjhGf) or visit the [Wails discussions on GitHub](https://github.com/wailsapp/wails/discussions). ## 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 backend - `app.go`: Define your application structure and methods here - `wails.json`: Configuration file for your Wails project ## Next Steps 1. Modify the frontend in the `frontend/` directory to create your desired UI. 2. Add backend functionality in `main.go`. 3. Use `wails3 dev` to see your changes in real-time. 4. 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. ## 创建模板 wails3 generate template \ -name "wails3-vue3-naive-template" \ -shortname "wails3-vue3-naive" \ -frontend ./w3app/frontend \ -author "dinstone" \ -description "Wails3 + Vite7 + Vue3 + NaiveUI + Pinia + UnoCSS Template" \ -dir ./wails3-templates \ -version "v1.0.0" ## Contributing 1. 工程基础环境设置(依赖),可以启动。ok vite,vue,wails,naive,unocss,版本集成测试。 unocss的配置很关键 2. 实现layout逻辑demo,wails3可以启动。ok layout是第一次逻辑,页面模板是第二层逻辑,页面内容是第三层逻辑。 layout需要借助route的Meta信息layout属性动态加载。 3. 实现主题切换,wails3可以启动。 ok naive-ui的theme属性,动态加载。 Html的document theme 属性添加dark,自定义css动态加载变量实现主题切换。 4. 实现多layout切换(classic、simple、normal),wails3可以启动。ok 5. 实现wails3 dev 正常启动。ok 了解了wails3 dev 启动流程,以及task执行顺序。 找到了不能正常启动的问题,是task顺序的问题,虽然不完美,但是可以启动了。 6. 实现wails3 build 正常构建 和 wails3 package 正常打包。ok 7. 后端代码集成。