模板
此页面作为社区支持模板的列表。请提交一个 PR(点击底部编辑此页面
)以包含您的模板。要构建自己的模板,请参阅模板指南。
要使用这些模板,请运行wails init -n "Your Project Name" -t [the link below[@version]]
如果没有版本后缀,默认使用主分支代码模板。如果有版本后缀,则使用对应于此版本标签的代码模板。
示例: wails init -n "Your Project Name" -t https://github.com/misitebao/wails-template-vue
注意
Wails 项目不维护、不负责也不对第三方模板承担责任!
如果您不确定某个模板,请检查package.json
和wails.json
以了解运行了哪些脚本以及安装了哪些包。
Vue
- wails-template-vue - 基于 Vue 生态的 Wails 模板(集成 TypeScript、暗黑主题、国际化、单页路由、TailwindCSS)
- wails-template-quasar-js - 使用 JavaScript + Quasar V2 的模板(Vue 3、Vite、Sass、Pinia、ESLint、Prettier)
- wails-template-quasar-ts - 使用 TypeScript + Quasar V2 的模板(Vue 3、Vite、Sass、Pinia、ESLint、Prettier、Composition API with<脚本设置>)
- wails-template-naive - 基于 Naive UI 的 Wails 模板(Vue 3 组件库)
- wails-template-nuxt - 使用简洁的 Nuxt3 和 TypeScript 以及 wails js 运行时自动导入的 Wails 模板
- Wails-Tool-Template - 使用 Vue+TypeScript+Vite+Element-plus(仿网易云)的 Wails 模板
Angular
- wails-template-angular - Angular 15+ 动作丰富且随时准备投入生产。
- wails-angular-template - 具有 TypeScript、Sass、热重载、代码拆分和 i18n 的 Angular
React
- wails-react-template - 使用 reactjs 的模板
- wails-react-template - React 的最小模板,支持实时开发
- wails-template-nextjs - 使用 Next.js 和 TypeScript 的模板
- wails-template-nextjs-app-router - 使用 Next.js 和 TypeScript 以及 App 路由器的模板
- wails-template-nextjs-app-router-src - 使用 Next.js 和 TypeScript 以及 App 路由器 src + 示例的模板
- wails-vite-react-ts-tailwind-template - React + TypeScript + Vite + TailwindCSS 的模板
- wails-vite-react-ts-tailwind-shadcnui-template - 具有 Vite、React、TypeScript、TailwindCSS 和 shadcn/ui 的模板
Svelte
- wails-svelte-template - 使用 Svelte 的模板
- wails-vite-svelte-template - 使用 Svelte 和 Vite 的模板
- wails-vite-svelte-tailwind-template - 使用 Svelte 和 Vite 以及 TailwindCSS v3 的模板
- wails-svelte-tailwind-vite-template - 使用 Svelte v4.2.0 和 Vite 以及 TailwindCSS v3.3.3 的更新模板
- wails-sveltekit-template - 使用 SvelteKit 的模板
Solid
- wails-template-vite-solid-ts - 使用 Solid + Ts + Vite 的模板
- wails-template-vite-solid-js - 使用 Solid + Js + Vite 的模板
Elm
- wails-elm-template - 使用函数式编程和快速热重载设置开发您的 GUI 应用程序 🎉 🚀
- wails-template-elm-tailwind - 结合 Elm + Tailwind CSS + Wails 的强大功能!支持热重载。
HTMX
- wails-htmx-templ-chi-tailwind - 使用纯 htmx 进行交互的独特组合,以及 templ 用于创建组件和表单
纯 JavaScript(原生)
- wails-pure-js-template - 除了基本的 JavaScript、HTML 和 CSS 之外的模板
Lit(web components)
- wails-lit-shoelace-esbuild-template - Wails 模板,提供使用 lit、Shoelace 组件库 + 预配置 prettier 和 typescript 的前端。