-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
📦📦 Create Vite App 交流群 #2
Comments
This issue is stale because it has been open for 7 days with no activity. |
@ErKeLost 二维码失效了。这个cli有node版本要求么,在16.x的环境下貌似无法work |
This issue is stale because it has been open for 7 days with no activity. |
This issue was closed because it has been inactive for 3 days since being marked as stale. |
我的node是18.16.0,mac 上执行 npx create-vite-template@latest 后,显示 sh: vite-app: command not found ,怎么处理(本人菜鸟,望大佬指点迷津) |
这个问题是因为新版本没有指定到文件地址导致的 最新版本已经修复了 可以使用了 |
想问下,src里面的plugins 文件,这些方法 在main.ts里面注册了要怎么使用,这种注册方式在网上没找到(本人菜鸟,望大佬指点迷津) |
@Zhengjincheng33 src 里的 plugin 主要是注册一些常见的功能 比如全局注册一些 全局组件 就直接 use 之后直接使用组件积极可以了 可以看看 vue 文档里的 use 注册 |
这个是 类型报错 你可以app?.appContext?. 具体要看一下上下文 可以试一下 可选链 或者 |
谢谢, const { appContext } = getCurrentInstance() as any 我这样解决了 |
The text was updated successfully, but these errors were encountered: