Home

Issue: 2117

Custom component not rendering in dev mode

[issue link]

I have a custom components library referenced as a dependency in package.json like this:

"dependencies": {
    "nuxt": "^1.0.0-rc11",
    "vue-components": "file:../../shared/vue-components"
  }

It works well in another projects using it normally:

import { TsButton } from 'vue-components'

export default {
  name: 'app',
  components: { TsButton }
}

However, when using it in a nuxt project component renders and instantly dissapears (I guess it’s rendering only in server). Throws this errors:

imagen imagen

I’ve tried including it in plugins with same result. When building and running in production mode, it works perfecly.

This bug report is available on Nuxt.js community (#c1877)