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

Failed to mount component: template or render function not defined. #27

Open
felipeminello opened this issue Feb 8, 2019 · 3 comments

Comments

@felipeminello
Copy link

I try to use the plugin as described in the example, but I get this error in console:

Failed to mount component: template or render function not defined.

@irongollem
Copy link
Contributor

I have the same issue. Removing the template or changing the slot to slot-scope (as suggested by the given console warning) didn't fix this.

@irongollem
Copy link
Contributor

I resolved this issue in pr 29: #29
IT had a self closing html tag followed by its closer (I wonder how this would work for anyone?)

@hitriyvalenok
Copy link

hitriyvalenok commented May 17, 2019

I have the same issue with v1.0.1 installed via npm. Tried many of variants without result.

import Grid from 'vue-js-grid';
...
<grid
    :draggable="true"
    :sortable="true"
    :items="photos"
    :height="100"
    :width="100">
</grid>
{
  "name": "vue-test-2",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint",
    "test:unit": "vue-cli-service test:unit"
  },
  "dependencies": {
    "@ckeditor/ckeditor5-build-classic": "^12.1.0",
    "@ckeditor/ckeditor5-vue": "^1.0.0-beta.2",
    "@johmun/vue-tags-input": "^2.0.1",
    "core-js": "^2.6.5",
    "vue": "^2.6.10",
    "vue-js-grid": "^1.0.1",
    "vue-router": "^3.0.3",
    "vuetify": "^1.5.5",
    "vuex": "^3.0.1"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "^3.7.0",
    "@vue/cli-plugin-eslint": "^3.7.0",
    "@vue/cli-plugin-unit-jest": "^3.7.0",
    "@vue/cli-service": "^3.7.0",
    "@vue/test-utils": "1.0.0-beta.29",
    "babel-core": "7.0.0-bridge.0",
    "babel-eslint": "^10.0.1",
    "babel-jest": "^23.6.0",
    "eslint": "^5.16.0",
    "eslint-plugin-vue": "^5.0.0",
    "sass": "^1.18.0",
    "sass-loader": "^7.1.0",
    "stylus": "^0.54.5",
    "stylus-loader": "^3.0.1",
    "vue-cli-plugin-vuetify": "^0.5.0",
    "vue-template-compiler": "^2.5.21",
    "vuetify-loader": "^1.0.5"
  }
}

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