-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
karlsbeard
committed
Aug 22, 2024
1 parent
1425c33
commit 45c872d
Showing
5 changed files
with
54 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,6 @@ dist-ssr | |
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
*.sw? | ||
|
||
src/*.js |
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,5 +1,29 @@ | ||
# Vue 3 + TypeScript + Vite | ||
# TS Tools for processing tree structure | ||
|
||
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. | ||
## Introduction | ||
|
||
Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup). | ||
Ts-Tree-Tools(TTs) is based on [tree-tool](https://github.com/wintc23/js-tree-tool), with no dependencies and small size. | ||
|
||
## How to install | ||
|
||
```bash | ||
# 使用pnpm | ||
pnpm install ts-tree-tools | ||
|
||
# 使用npm | ||
npm install ts-tree-tools | ||
|
||
# 使用yarn | ||
yarn install ts-tree-tools | ||
``` | ||
|
||
## How to use | ||
|
||
### Import | ||
|
||
```js | ||
// commonjs | ||
const TTs = require('ts-tree-tools') | ||
|
||
// | ||
``` |
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,7 +1,7 @@ | ||
{ | ||
"name": "ts-tree-tools", | ||
"type": "module", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"packageManager": "[email protected]", | ||
"description": "the tools for tree", | ||
"author": "Karl <[email protected]>", | ||
|
@@ -21,6 +21,7 @@ | |
"release": "release-it" | ||
}, | ||
"dependencies": { | ||
"tree-tool": "^1.1.8", | ||
"vue": "^3.4.31" | ||
}, | ||
"devDependencies": { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.