当前页面是直接从文件系统打开的,浏览器不会加载 Vue 模块。请在 D:\work\admin-console\frontend 目录运行:
D:\work\admin-console\frontend
npm run dev
然后访问 http://localhost:5173。
http://localhost:5173