GithubHelp home page GithubHelp logo

qq247534686 / it-tools-zh_cn Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 626 KB

it-tools中文

License: GNU General Public License v3.0

JavaScript 1.32% Dockerfile 0.09% EJS 0.08% HTML 0.51% TypeScript 49.00% Vue 49.00%

it-tools-zh_cn's Introduction

logo

对于开发人员和 IT 工作人员来说非常有用的工具。

[在线预览]

建议新工具

请前往 issues 提出新工具的想法,并查看列出的某些功能是否已实现。

指北

推荐的 IDE 设置

建议安装 VSCode 扩展:

建议的扩展设置:

{
  "editor.formatOnSave": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  "i18n-ally.localesPaths": ["locales", "src/tools/*/locales"],
  "i18n-ally.keystyle": "nested"
}

TS 中对“.vue”导入的类型支持

默认情况下,TypeScript 无法处理“.vue”导入的类型信息,因此我们将“tsc”CLI 替换为“vue-tsc”来进行类型检查。 在编辑器中,我们需要 TypeScript Vue Plugin (Volar) 来使 TypeScript 语言服务识别 .vue 类型。

如果您觉得独立的 TypeScript 插件不够快,Volar 还实现了性能更高的接管模式。 您可以通过以下步骤启用它:

1.禁用内置的TypeScript扩展 1. 从 VSCode 的命令面板运行 “扩展:显示内置扩展” 2. 找到 “TypeScript 和 JavaScript 语言功能” ,右键单击并选择 “禁用(工作区)” 2. 通过从命令面板运行 “Developer: Reload Window” 来重新加载 VSCode 窗口。

下载

git clone https://gitee.com/angelofan/it-tools.git

安装依赖

cd it-tools
npm install

启动实时重载开发

npm run dev

编译

npm run build

使用 ESLint 进行检查

npm run lint

创建一个新工具

要创建新工具,有一个脚本可以生成新工具的样板文件,只需运行:

npm run script:create:tool your-tool-name

它将在 “src/tools” 中创建一个包含正确文件的目录,并在 “src/tools/index.ts” 中自动导入。您只需要将导入的工具添加到适当的类别中并开发该工具。

贡献

非常感谢所有已经做出贡献的人!

由作者 Corentin Thomasset 编写。

该项目使用 vercel.com 持续部署。

贡献者图是使用 contrib.rocks 生成的。

许可证

GNU GPLv3

it-tools-zh_cn's People

Contributors

qq247534686 avatar

Stargazers

 avatar  avatar Jornathan Thorne avatar

Watchers

 avatar

Forkers

yunzixun

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.