1 Star 0 Fork 0

Zero / WinTools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
NEXTSTEPS.md 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
Zero 提交于 2021-11-10 16:25 . - hosts修改

Next Steps

Congratulations on generating your template!

Completing your template

The next steps to complete the template are:

  1. Complete the fields in the template.json file.
    • It is really important to ensure helpurl is valid as this is where users of the template will be directed for help.
  2. Update README.md.
  3. Edit wails.json and ensure all fields are correct, especially:
    • assetdir - path to your assets
    • wailsjsdir - path to generate wailsjs modules
    • frontend:install - The command to install your frontend dependencies
    • frontend:build - The command to build your frontend
  4. Remove any public or dist directories.
  5. Delete this file.

Testing your template

You can test your template by running this command:

wails init -n test -t D:\code\golang\wails-vue3-template

Checklist

Once generated, do the following tests:

  • Change into the new project directory and run wails build. A working binary should be generated in the build/bin project directory.
  • Run wails dev. This will compile your app and run it.

Publishing your template

You can publish a template to a git repository and use it as follows:

wails init -name test -t https://your/git/url

EG:

wails init -name test -t https://github.com/leaanthony/testtemplate

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zero_clown/win-tools.git
git@gitee.com:zero_clown/win-tools.git
zero_clown
win-tools
WinTools
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891