mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-25 17:26:15 -04:00
feat(emoji-picker) add lazy loading to improve initial load performance
This commit is contained in:
parent
0b1b98f93e
commit
eb54661949
2 changed files with 57 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
|||
import { MoodSmile } from '@vicons/tabler';
|
||||
import { IconMoodSmile } from '@tabler/icons-vue';
|
||||
import { defineTool } from '../tool';
|
||||
import { translate } from '@/plugins/i18n.plugin';
|
||||
|
||||
|
@ -8,6 +8,6 @@ export const tool = defineTool({
|
|||
description: translate('tools.emoji-picker.description'),
|
||||
keywords: ['emoji', 'picker', 'unicode', 'copy', 'paste'],
|
||||
component: () => import('./emoji-picker.vue'),
|
||||
icon: MoodSmile,
|
||||
icon: IconMoodSmile,
|
||||
createdAt: new Date('2023-08-07'),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue