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

Cannot use <slot> as component root element #2

Open
chimit opened this issue Nov 25, 2016 · 4 comments
Open

Cannot use <slot> as component root element #2

chimit opened this issue Nov 25, 2016 · 4 comments

Comments

@chimit
Copy link

chimit commented Nov 25, 2016

Hi!

I get an ESLint error in this component:

ERROR in ./~/vue-loader/lib/template-compiler.js?id=data-v-6a0357d7!./~/vue-loader/lib/selector.js?type=template&index=0!./~/vue-bulma-tooltip/src/Tooltip.vue
template syntax error Cannot use <slot> as component root element because it may contain multiple nodes:
<slot><slot>

I use vue-bulma-tooltip from the npm. How to solve this problem?

@oleynikd
Copy link

oleynikd commented Dec 7, 2016

+1

@jinseokoh
Copy link

Try

"vue-bulma-tooltip": "github:vue-bulma/tooltip"

instead of

"vue-bulma-tooltip": "^1.0.0"

in your package.json

@brecky
Copy link

brecky commented Feb 16, 2017

error in ./~/vue-bulma-tooltip/src/style.scss

Module parse failed: C:\xampp\htdocs\lifesatstream\node_modules\vue-bulma-tooltip\src\style.scss Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type.
| @import '~bulma/sass/utilities/variables';

"version": "1.0.2"

@luventa
Copy link
Member

luventa commented Feb 17, 2017

@brecky you need to install and config css-loader

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

5 participants