Skip to content

A wails template using JavaScript + Tdesign (Vue 3, Vite, Pinia, ESLint, Prettier)

License

Notifications You must be signed in to change notification settings

tongque0/wails-template-tdesign-js

Repository files navigation

Wails Template TDesign (JS)

中文

Use

wails init -n "Your Project Name" -t https://github.com/tongque0/wails-template-tdesign-js

About

  • This project is a template for Wails.
  • It utilizes the TDesign framework.
  • The following options were used to generate the frontend:
    • Vite 5
    • Vue 3
    • JavaScript
    • Vue Router
    • Pinia for state management
    • TDesign UI components
    • Axios for HTTP requests
    • ESLint for code linting
    • Prettier for code formatting

Live Development

To run in live development mode, first run wails dev in the project directory. Then, in another terminal, navigate to the frontend directory and run npm run dev. The frontend development server will run on http://localhost:34115. You can connect to this in your browser to access your application.

Note: The TDesign development server is manually configured to run on port :5173 to work properly with Wails. If this needs to be changed, please adjust the configuration in vite.config.js and wails.json accordingly.

Building

To build a redistributable production mode package, use wails build.

About

A wails template using JavaScript + Tdesign (Vue 3, Vite, Pinia, ESLint, Prettier)

Resources

License

Stars

Watchers

Forks

Packages

No packages published