-wlq-mxgrapheditor

中文文档
0.0.0发布于 2022/08/23ES Module

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.

此软件包已被标记为弃用

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

原始使用文档

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.

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.

版本与发布记录

-wlq-mxgrapheditor 共发布 1 个版本,首次发布于 2022/08/23;过去 12 个月发布了 0 个版本。

版本发布日期距今
0.0.0latest2022/08/234 年前

关于 -wlq-mxgrapheditor 的常见问题

-wlq-mxgrapheditor 是什么?

这个模板可以帮助你开始在Vite中使用Vue 3和TypeScript进行开发。模板使用Vue 3 <script setup> SFCs,查看一下 脚本设置文档 了解更多。注意:该包已被作者标记为弃用——Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

如何安装 -wlq-mxgrapheditor?

在项目目录运行 npm install -- -wlq-mxgrapheditor,或使用 pnpm add / yarn add / bun add。

-wlq-mxgrapheditor 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/-wlq-mxgrapheditor 是否存在。

-wlq-mxgrapheditor 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

-wlq-mxgrapheditor 可以商用吗?

-wlq-mxgrapheditor 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

-wlq-mxgrapheditor 还在维护吗?

最新版本 0.0.0 发布于 2022/08/23(4 年前);至今共发布 1 个版本,其中过去 12 个月发布了 0 个;首次发布于 2022/08/23。作者已将其标记为弃用,新项目建议寻找替代方案。