Skip to content

Commit 18245f1

Browse files
committed
update: package: any-menu@1.0.0
1 parent e0ade95 commit 18245f1

4 files changed

Lines changed: 92 additions & 192 deletions

File tree

‎package-lock.json‎

Lines changed: 90 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"@types/react": "^19.2.14",
2121
"@types/react-dom": "^19.2.3",
2222
"@vitejs/plugin-react": "^6.0.1",
23+
"any-menu": "^1.0.0",
2324
"typescript": "^5.9.3",
2425
"vite": "^8.0.3"
2526
},

‎src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// 功能: 可以将 CSS 内联到 JS 中,插件只需分发单个 .js 文件
1414
import cssText from './style.css?inline';
1515

16-
import type { PluginInterface, PluginInterfaceCtx } from '../types/any-menu';
16+
import type { PluginInterface, PluginInterfaceCtx } from 'any-menu';
1717

1818
import { createElement } from 'react';
1919
import { createRoot } from 'react-dom/client';

0 commit comments

Comments
 (0)