tooltip
tooltip copied to clipboard
Cannot use <slot> as component root element
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?
+1
Try
"vue-bulma-tooltip": "github:vue-bulma/tooltip"
instead of
"vue-bulma-tooltip": "^1.0.0"
in your package.json
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"
@brecky you need to install and config css-loader