-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
726 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,40 @@ | ||
# Tauri + Vue + TypeScript | ||
# WT-Toolkit | 战雷工具箱 | ||
|
||
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more. | ||
[](https://github.com/axiangcoding/WT-Toolkit/actions/workflows/dependabot/dependabot-updates) [](https://github.com/axiangcoding/WT-Toolkit/actions/workflows/lint.yml) [](https://github.com/axiangcoding/WT-Toolkit/actions/workflows/release.yml) | ||
|
||
## Recommended IDE Setup | ||
Select language: English | [简体中文](README.zh-CN.md) | ||
|
||
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) | ||
## Introduction | ||
|
||
## Type Support For `.vue` Imports in TS | ||
This is a toolkit designed for War Thunder players to provide some useful features to help them manage the game better. | ||
|
||
Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can enable Volar's Take Over mode by following these steps: | ||
> [!warning] | ||
> This project is still under development, and some features may not work properly. Please report any issues you encounter. | ||
1. Run `Extensions: Show Built-in Extensions` from VS Code's command palette, look for `TypeScript and JavaScript Language Features`, then right click and select `Disable (Workspace)`. By default, Take Over mode will enable itself if the default TypeScript extension is disabled. | ||
2. Reload the VS Code window by running `Developer: Reload Window` from the command palette. | ||
## Features | ||
|
||
You can learn more about Take Over mode [here](https://github.com/johnsoncodehk/volar/discussions/471). | ||
We are supporting the following features now: | ||
|
||
- [x] User customised skin management | ||
- [x] User customised sight management | ||
|
||
And we are planning to support the following features in the future: | ||
|
||
- [ ] GUI support for [wt_ext_cli](https://github.com/Warthunder-Open-Source-Foundation/wt_ext_cli) | ||
- [ ] Multi-language support | ||
|
||
## Installation | ||
|
||
You can install the toolkit by downloading the latest release from the [release page](https://github.com/axiangcoding/WT-Toolkit/releases) | ||
|
||
## Usage | ||
|
||
**Document is still working in progress.** | ||
|
||
## Contributing | ||
|
||
**Document is still working in progress.** | ||
|
||
## License | ||
|
||
This project is licensed under the GPL-3.0 License - see the [LICENSE](LICENSE) file for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# WT-Toolkit | 战雷工具箱 | ||
|
||
选择语言: [English](README.md) | [简体中文](README.zh-CN.md) | ||
|
||
## 简介 | ||
|
||
这是一个为《战争雷霆》玩家设计的工具箱,提供一些有用的功能,帮助玩家更好地了解游戏。 | ||
|
||
> [!warning] | ||
> 该项目仍在开发中,部分功能可能无法正常工作。请报告您遇到的任何问题。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "wt-helper-app", | ||
"name": "wt-toolkit", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[package] | ||
name = "wt-helper-app" | ||
name = "wt-toolkit" | ||
version = "0.0.0" | ||
description = "A Tauri App" | ||
authors = ["[email protected]"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters