Files
heroui-vue/tests/package/b01-consumer-app/README.md
T

19 lines
848 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# B01 独立浏览器消费夹具
准备最终产物与浏览器文件:
```sh
node scripts/check-package.mjs b01-menu-dropdown
```
使用输出的独立消费者路径和Vite命令,显式选空闲端口启动;不再单独pack/install或引入esbuild。夹具只消费公开包和发布CSS,不用源码alias。统一入口不自动启动服务。
重点场景:
- `?only=selection`:裁切/隔离祖先中的分组多选长菜单,检查Portal、可用高度和真实menu名称。
- `?only=submenu`:三级子菜单与链接项。
- `?only=modal`:Modal内Dropdown,检查逐层关闭、滚动锁与焦点。
- `?only=standalone`:独立内联Menu,不应锁滚动或抢焦点。
导出/CSS/类型检查由统一入口完成;真实可见、点击和焦点仍按浏览器步骤验,构建通过不代表这些操作通过。