feat(auto-import): 添加 naive-ui 组件自动导入支持
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 4m8s
CI/CD Pipeline / build-and-deploy (push) Successful in 2m35s

This commit is contained in:
严浩
2025-10-25 00:47:07 +08:00
parent 699b68990e
commit d0f1ad0702
4 changed files with 351 additions and 11 deletions

View File

@@ -5,13 +5,7 @@ import hljs from 'highlight.js/lib/core';
import json from 'highlight.js/lib/languages/json';
hljs.registerLanguage('json', json);
definePage({
meta: {
link: true,
title: 'Functional Component Demo',
},
});
definePage({ meta: { link: true } });
const FComponent: FunctionalComponent<{ prop: string }> = (props /* context */) => (
<>
<NBlockquote>