Code Monkey home page Code Monkey logo

xuxiaowei-tools's Introduction

徐晓伟工具箱

基于 Tauri、Vite 3、Vue 3、Element Plus 的工具箱

License-Anti Link-996 QQ群

1. 本项目提供 Gitee PageGitLab PageGitHub Page 网站。
2. 本项目提供 WindowsLinuxMac 安装包。
3. 本项目仅提供开发常用工具,不收集用户数据。
4. 本项目仅用于开发、测试。非法使用,后果自付。

项目创建

npm create tauri-app
npm i -D eslint
npx eslint --init
# 选择
# To check syntax, find problems, and enforce code style
# JavaScript modules (import/export)
# Vue.js
# use TypeScript
# √ Browser
# Use a popular style guide
# Standard: https://github.com/standard/standard
# JavaScript
npx husky-init
npm i element-plus
npm i -D unplugin-vue-components unplugin-auto-import
  • 依赖
npm i vue
npm i @element-plus/icons-vue @tauri-apps/api @toast-ui/editor @wangeditor/editor axios bcryptjs crypto-js element-plus jsencrypt jsrsasign pinia spark-md5 uuid vue-clipboard3 vue-router
npm i -D @tauri-apps/cli @types/bcryptjs @types/crypto-js @types/node @types/uuid @typescript-eslint/eslint-plugin @typescript-eslint/parser @vitejs/plugin-vue
npm i -D eslint eslint-config-standard eslint-plugin-import eslint-plugin-n eslint-plugin-promise eslint-plugin-vue husky sass typescript unocss unplugin-auto-import unplugin-vue-components vite vue-tsc

Vue 3 + TypeScript + Vite

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 to learn more.

Recommended IDE Setup

Type Support For .vue Imports in TS

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:

  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.

You can learn more about Take Over mode here.

Stargazers over time

Stargazers over time

xuxiaowei-tools's People

Contributors

xuxiaowei-com-cn avatar songkailun avatar dependabot[bot] 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.