1 Star 9 Fork 1

会PS的小码农 / golang+vue 桌面程序框架

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
app
Loading...
README
MIT

lorca-vue

项目依赖

  • 本项目打包依赖于statik,开发前请先安装statik

特性

特殊说明

  • 由于本项目使用goLang调用浏览器内核实现,所以只能运行页面级程序,目前还不支持自定义菜单和常驻任务栏图标。如果需要开发比较复杂的项目,请移步到electron-vue

调试go+vue

#第一次开发需要执行如下命令安装vue依赖
cd vue && yarn && cd ../
#执行如下命令即可打开调试模式
go run main.go -dev

只调试go程序

#linux下打运行
cd vue && yarn build&& cd ../ && statik -src=./vue/dist/ -f  && go run main.go 

二进制打包

#linux下打包
cd vue && yarn build&& cd ../ && statik -src=./vue/dist/ -f&& go build main.go 

安装包制作

我只测试了 build-linux.sh

#windows使用`build-windows.bat`,生成到`xxx.exe文件`文件,下一步使用“inno setup”或“nsis”打包到“dist”文件夹中。
./cmd/build-windows.bat
#linux跨平台打包windows
./cmd/build-windows.sh
#llinux使用`build-linux.sh版`,生成到`xxx.deb`文件。
./cmd/build-linux.sh

#mac使用`build-macos.sh公司`,生成到`xxx.app`文件。
./cmd/build-macos.sh
MIT License Copyright (c) 2020 illusion Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

golang环境 使用lorca框架+vue实现的一个简单跨平台桌面程序框架,使开发更简单更容易上手,目前还有一些问题需要调整,有兴趣的老铁也可以提交自己的代码上来我们共同维护这个项目 展开 收起
Go
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/liushuai05/lorca_vue.git
git@gitee.com:liushuai05/lorca_vue.git
liushuai05
lorca_vue
golang+vue 桌面程序框架
master

搜索帮助