Antfu是什么意思?这是一个非常有趣的问题,因为Antfu是一个网络上的昵称,而不是一个词语。Antfu这个昵称的主人是一名技术博主,他的博客非常受欢迎,每天都有很多人来访问。从这个角度来看,Antfu的意思就是一个活跃的技术博主。除此之外,Antfu也被用作一些技术领域的项目名称,例如Antfu Vuepress Theme...
Antfu是一个网络昵称,并非一个固定的词语。其主人是一位技术博主,博客非常受欢迎。从这个角度看,Antfu可以理解为活跃的技术博主。此外,Antfu也被用作一些技术领域的项目名称,如Antfu Vuepress Theme、Antfu Yoru、Antfu.me等,这些项目多与前端技术相关,如Vue.js、JavaScript、CSS等。从这个角度看,An...
国际惯例,先装下依赖,这里强烈推荐 antfu 大佬的 ni。 npm install v-lazy-show -D yarn add v-lazy-show -D pnpm add v-lazy-show -D ni v-lazy-show -D 既然是个编译时指令,且是处理 vue template 的,那么就应该在对应的构建工具中配置,如下: 如果你用的是 vite,那么配置如下 // vite.config.ts...
antfu/README.md me.blog.projects.talks.podcasts.compform.mastodon.tweets.discord.instagram.sponsor PinnedLoading nuxt/nuxtnuxt/nuxtPublic The Intuitive Vue Framework. TypeScript56.2k5.2k vitest-dev/vitestvitest-dev/vitestPublic Next generation testing framework powered by Vite. ...
antfu/antfu main 2Branches0Tags Code Folders and files Name Last commit message Last commit date Latest commit github-actions[bot] Update metrics.svg - [Skip GitHub Action] Jan 19, 2025 ae5d98f·Jan 19, 2025 History 601 Commits .github...
antfu 大佬的 v-lazy-show 是一个编译时指令,专门针对 v-show 的优化。它的核心原理在于,当条件为假时,不进行组件的渲染,直到条件第一次变为真才进行渲染,从而避免了不必要的渲染开销。比如在初始条件下显示第一个 Tabs 组件的情况,使用 v-lazy-show 可以避免渲染后续未显示的 Tabs 组件。该...
5 Followers 0 Following https://github.com/antfu 概览仓库1星选集 热门项目 i18n-ally 151 贡献度 2024 周一 周四 周日 一月 二月 三月 四月 五月 六月 七月 八月 九月 十月 十一月 十二月 少 多 最近一年贡献:414 次 最长连续贡献:6 日 最近连续贡献:1 日 ...
// eslint.config.jsimport{combine,comments,ignores,imports,javascript,jsdoc,jsonc,markdown,node,sortPackageJson,sortTsconfig,stylistic,toml,typescript,unicorn,vue,yaml,}from'@antfu/eslint-config'exportdefaultcombine(ignores(),javascript(/* Options */),comments(),node(),jsdoc(),imports(),unicorn...
@antfu/eslint-config-vue Use it $yarn add @antfu/eslint-config-vue Try in RunKit·Browse Files Usage Dependencies local-pkg,eslint-plugin-vue,@antfu/eslint-config-ts,@antfu/eslint-config-basic 4 DevDependencies eslint 1 Packages see package.json ...
}from'@antfu/eslint-define-config'exportdefaultdefineFlatConfig<VitestRules,/* Strict */true>({ plugins: { vitest: pluginVitest, }, rules: {// only `vitest/` rules are allowed and will be auto-completed'vitest/no-async':'error',// @ts-expect-error not allowed'indent':'error'},...