wails-template-vue/.github
2022-09-07 08:06:38 +08:00
..
ISSUE_TEMPLATE chore: update issue config 2022-08-23 16:48:41 +08:00
workflows chore(ci): update slate config 2022-05-06 12:27:24 +08:00
CHANGELOG.md Sync username 2022-09-07 08:06:38 +08:00
CONTRIBUTING.md Add github related configuration 2021-11-23 04:02:25 +08:00
FUNDING.yml Add github related configuration 2021-11-23 04:02:25 +08:00
logo.gif feat: add frontend watcher and changelog (#20) 2022-03-06 02:59:35 +08:00
logo.png feat: add frontend watcher and changelog (#20) 2022-03-06 02:59:35 +08:00
preview.en.png docs: update preview 2022-03-24 11:48:29 +08:00
preview.gif docs: update resource path 2022-02-03 08:47:11 +08:00
preview.png docs: update resource path 2022-02-03 08:47:11 +08:00
preview.zh-Hans.png docs: update preview 2022-03-24 11:48:29 +08:00
pull-request-template.md chore: update PR template 2022-01-30 06:43:50 +08:00
README.md Sync username 2022-09-07 08:06:38 +08:00
README.zh-Hans.md Sync username 2022-09-07 08:06:38 +08:00

Wails Template Vue

A Wails template based on Vue and Vue-Router

GitHub GitHub GitHub release (latest by date including pre-releases) Awesome-Wails

Table of Contents

Click me to Open/Close the directory listing

Introductions

The wails-template-vue template is a Vue template that supports Wails programs and provides Router and i18n functions by default.

Background

I hope that Vue and its powerful community ecology can be used in Wails applications to develop single-page applications that support multiple routes.

Graphic Demo

Demo Screenshot

Features

  • Compatible with Windows, MacOS, Linux platforms
  • Support single page routing and i18n.
  • Built-in Sass preprocessor.
  • A consistent UI experience across platforms(Comes with JetbrainsMono font package).
  • Comes with a complete API example(Currently under development and testing...).
  • Support JavaScript and TypeScript

Getting Started

New Project

wails init -n [Your Appname] -t https://github.com/misitebao/wails-template-vue

flag description:

  • n - The name of the application to be created
  • t - Template name, supports built-in template names and third-party templates in the form of hyperlinks

After the project is created, the JavaScript template is used by default. You can change the value of the "frontend:build" field in the wails.json file to "npm run build -w ts" to use the TypeScript template.

Note: In order to support TypeScript templates under the existing functions, the front-end part uses the NPM workspace function, so the NPM version must be >=7.0.0, please run npm -v to check your NPM version.

Reference document

The front-end part uses Vue Vue-Router and Vue-I18N:

  • Vue - Use vue3.x version, please refer to the official Vue3.x Documents for specific usage.
  • Vue-Router - Use Vue-Router 4.x version, please refer to the official Vue-Router Documents for specific usage.
  • Vue-I18N - Use Vue-I18N 9.x version, please refer to official Vue-I18N Documents for specific usage.
  • TypeScript - Please refer to official TypeScript Documents for specific usage.

Then you can refer to the official Wails document to start developing your application🤞.

Maintainer

Thanks to the maintainers of these projects:

misitebao

Click me to Open/Close the maintainer listing
  • Misitebao - Project author, full stack engineer.

Contributors

Thank you to all the contributors who participated in the development of wails-template-vue. Contributors

eighteenzheng daoif

Community Exchange

Chinese Community:

Part Of Users

License

License MIT