Skip to content
索引

我在上一个pnpm项目中也遇到了这个错误,并通过以下方式将prettier的配置移动到文件“package.json”来解决它

I encountered this error too in my last pnpm project and solved it by moving my prettier config to the file package.json this way

您的网站未通过https提供服务。navigator.clipboard仅在安全上下文中可用。被#792修复。修复程序将在下一版本中提供。

Your site is not being served over https. navigator.clipboard is available only in secure contexts. Was fixed by #792. The fix will be there in the next release.

一个用于JavaScript的小型、安全、URL友好、唯一的字符串ID生成器。

A tiny, secure, URL-friendly, unique string ID generator for JavaScript

性能问题很难追踪,一个好的报道对于修复它们是至关重要的

Performance issues are hard to track down, and a good report is crucial for fixing them

这是一个简单的图解

Here is a rough illusration

您之所以在这里,是因为您的问题已用“无法复现案例”标记结束。请阅读下面的内容,并打开一个关于 Repo case 的新版本

You are here because your issue is closed with no-repro-case tag. Please read below and open a new issue with repro case

常见问题解答

Frequently Asked Questions

从事开源工作,并进行独立的学习/研究

work on Open Source and to conduct independent study/research

您的帮助将减轻我的经济负担,并允许我花更多的时间在 Vetur

Your help will alleviate my financial burden and allow me to spend more time working on Vetur

壮举!:使路由器成为一个独立的插件

feat!: make router a separate plugin

我正在尝试在 IE 11 上运行我的应用程序

I am trying to run my application on IE 11

practice 在美式英语中使用广泛,它既是名词,又可做动词。美语中不使用 practise

Practice is widely used in American English. It is both a noun and a verb. Practice is not used in American English

它们可以用 defineStore()中的 actions 属性定义,非常适合定义业务逻辑

They can be defined with the actions property in defineStore() and they are perfect to define business logic

Vite 致力于提供开箱即用的既定模式,因此在创建新插件之前,请确保查看功能指南,看看是否满足了您的需求。

Vite strives to offer established patterns cut of box, so before creating a new plugin make sure that you check the Features guide to see if your need is covered.

我已经设置了一个普通的 vite 应用程序,看看这是否是我的 React+Typescript 设置,问题也发生在这个普通应用程序中

I have setup a vanilla vite app to see if it was my React+Typescript setup and the problem also happens in the vanilla app

区分 undefined, null, false

distinguish between undefined, null, and false

让你明确自己想要什么

let you be explicit about what you want

我们随时欢迎您的反馈

We are always open to your feedback

它使用 react 和 typescript,但传输的脚本根本不起作用

it's using react and typescript, but the transpiled scripts do not work at all

index.html 页面已加载,但仍保持空白,且脚本未运行

The index.html page is loaded but it stays blank with and the script doesn't run.

因此

As a result

在阅读以下章节之前,建议先阅读 Rollup 的插件文档

It is recommended to go through Rollup's plugin documentation first before reading the sections below

编写插件

Authoring a Plugin

Actions 相当于组件中的方法

Actions are the equivalent of methods in components

附带一些格式选项

ships with a handful of format options.

样式化组件无法在夜间使用JavaScript和TypeScriptz

Styled-Component Not working with JavaScript and TypeScript Nightly

短ID。它使用比UUID(a-Za-z0-9_-)更大的字母表。因此,ID大小从36个符号减少到21个符号。

Short IDs. It uses a larger alphabet than UUID (A-Za-z0-9_-). So ID size was reduced from 36 to 21 symbols.

便携的、Nano ID被移植到20种编程语言

Portable. Nano ID was ported to 20 programming languages

使用ANSI颜色进行终端输出格式化的最小和最快的库。

The tiniest and the fastest library for terminal output formatting with ANSI colors.

很想听听你的想法!

Would love to hear what you think!

Released under the MIT License.