feat: add frontend watcher and changelog (#20)

* docs: update logo

* docs: update graphic demo

* docs: update readme

* feat: add debounceMS field

* feat: add script file

* release v2.0.0-beta.5
This commit is contained in:
Misitebao 2022-03-06 02:59:35 +08:00 committed by GitHub
parent 5206277224
commit ae21e5dc15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 64 additions and 3 deletions

2
.github/README.md vendored
View File

@ -1,5 +1,5 @@
<p align="center">
<img src="https://cdn.jsdelivr.net/gh/misitebao/wails-template-vue@main/.github/logo.png" height="280" />
<img src="./logo.gif" height="280" />
</p>
<p align="center">
A Wails template based on Vue and Vue-Router

View File

@ -1,5 +1,5 @@
<p align="center">
<img src="https://cdn.jsdelivr.net/gh/misitebao/wails-template-vue@main/.github/logo.png" height="280" />
<img src="./logo.gif" height="280" />
</p>
<p align="center">
基于Vue和Vue-Router的Wails模板

BIN
.github/logo.gif vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

BIN
.github/logo.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -1,5 +1,5 @@
<p align="center">
<img src="https://cdn.jsdelivr.net/gh/misitebao/wails-template-vue@main/.github/logo.png" height="280" />
<img src="./.github/logo.gif" height="280" />
</p>
<p align="center">
A Wails template based on Vue and Vue-Router

View File

@ -0,0 +1,9 @@
#! /bin/bash
echo -e "Start running the script..."
cd ../
echo -e "Start building the app for macos platform..."
wails build --clean --platform darwin/arm64
echo -e "End running the script!"

View File

@ -0,0 +1,9 @@
#! /bin/bash
echo -e "Start running the script..."
cd ../
echo -e "Start building the app for macos platform..."
wails build --clean --platform darwin
echo -e "End running the script!"

9
scripts/build-macos.sh Normal file
View File

@ -0,0 +1,9 @@
#! /bin/bash
echo -e "Start running the script..."
cd ../
echo -e "Start building the app for macos platform..."
wails build --clean --platform darwin/universal
echo -e "End running the script!"

9
scripts/build-windows.sh Normal file
View File

@ -0,0 +1,9 @@
#! /bin/bash
echo -e "Start running the script..."
cd ../
echo -e "Start building the app for windows platform..."
wails build --clean --platform windows/amd64
echo -e "End running the script!"

9
scripts/build.sh Normal file
View File

@ -0,0 +1,9 @@
#! /bin/bash
echo -e "Start running the script..."
cd ../
echo -e "Start building the app..."
wails build --clean
echo -e "End running the script!"

View File

@ -0,0 +1,14 @@
#! /bin/bash
echo -e "Start running the script..."
cd ../
echo -e "Current Go version: \c"
go version
echo -e "Install the Wails command line tool..."
go install github.com/wailsapp/wails/v2/cmd/wails@latest
echo -e "Successful installation!"
echo -e "End running the script!"

View File

@ -1,5 +1,6 @@
{
"name": "wails-template-vue",
"version":"2.0.0-beta.5",
"shortname": "vue",
"author": "Misitebao <i@misitebao.com>",
"description": "A template using vue and vue-router",

View File

@ -5,6 +5,7 @@
"frontend:install": "npm install",
"frontend:build": "npm run build -w js",
"frontend:dev:watcher": "npm run build:watch -w js",
"debounceMS": 2000,
"author": {
"name": "{{.AuthorName}}",
"email": "{{.AuthorEmail}}"