Skip to content
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

项目内安装,引用不成功 #40

Open
yiweizhi opened this issue Nov 16, 2021 · 2 comments
Open

项目内安装,引用不成功 #40

yiweizhi opened this issue Nov 16, 2021 · 2 comments

Comments

@yiweizhi
Copy link

项目内安装

$ npm install sparrow-code -D

package.json 增加 sparrow

"scripts": {
"sparrow": "sparrow start -m page"
}

项目内安装GUI组件

$ npm install @sparrow-vue/develop-ui -S

项目内引用App.vue

<script> import Sparrow from '@sparrow-vue/develop-ui' export default { components: { Sparrow }, name: 'App' } </script>

运行报错:

[Vue warn]: Failed to mount component: template or render function not defined.

@lir9205
Copy link

lir9205 commented Feb 21, 2022

请问这个报错问题解决了吗?是怎么解决的?

@Xiaoailove
Copy link

我也遇见了这个报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants