Git Product home page Git Product logo

wails-template-vue's Introduction

A Wails template based on Vue and Vue-Router

GitHub GitHub GitHub Repo stars GitHub release (latest by date including pre-releases) GitHub user Gitter Awesome-Wails

Internationalization

English | 简体中文

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

crushonyou18

Community Exchange

Chinese Community:

Part Of Users

License

License MIT

wails-template-vue's People

Contributors

misitebao avatar eighteenzheng avatar daoif avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.