-
Notifications
You must be signed in to change notification settings - Fork 231
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
🐛 [Bug]: After initializing the project, the official website button and alert components are introduced, and the front-end defined (reading 'tiny_mode') is reported. " #141
Comments
@lipan007 先将 vue 版本固定为 |
2.7会报错,好像是因为2.7不支持 |
好了,我把版本固定之后,没有报错了,谢谢 |
@kagol 我看 |
tinycli后续会支持vue2么 |
是的哈~不过现在还没有发布 2.7 版本,后续有计划发布 2.7 版本,这样业务如果使用 vue2.7 就可以安装 @opentiny/vue@2.7 啦 |
麻烦在这里提交一个 issue 哈 |
vue2.7已支持,目前已发布 alpha 版本: |
vue2.7 is supported, and the alpha version has been released: |
Version
`-- @opentiny/vue@2.6.1
Vue Version
2.6.10
Link to minimal reproduction
e.runtime.esm.js:4605 [Vue warn]: inject() can only be used inside setup() or functional components.
found in
--->
at src/views/Home.vue
at src/App.vue
ue warn]: Error in setup: "TypeError: Cannot read properties of undefined (reading 'tiny_mode')"
found in
--->
at src/views/Home.vue
at src/App.vue
peError: Cannot read properties of undefined (reading 'tiny_mode')
ue warn]: Error in data(): "TypeError: Cannot read properties of undefined (reading 'length')"
found in
--->
at src/views/Home.vue
at src/App.vue
e.runtime.esm.js:4605 [Vue warn]: Error in render: "TypeError: Cannot read properties of undefined (reading 'buttonDisabled')"
found in
--->
at src/views/Home.vue
at src/App.vue
e.runtime.esm.js:4605 [Vue warn]: inject() can only be used inside setup() or functional components.
found in
--->
at src/views/Home.vue
at src/App.vue
Step to reproduce
vuecli 初始化项目
安装 tiny
引入官网例子
What is expected
No response
What is actually happening
No response
Any additional comments (optional)
No response
The text was updated successfully, but these errors were encountered: