feat(auto-import): 添加 naive-ui 组件自动导入支持
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user