nuxtent-template icon indicating copy to clipboard operation
nuxtent-template copied to clipboard

Page view has a Vue Warning, not displaying content from md

Open darisi opened this issue 7 years ago • 2 comments

When loading hello-world/ page the .md content isn't displayed (shows just the title) and the inspector shows these errors:

[Vue warn]: Failed to mount component: template or render function not defined. found in ---> <Anonymous> <Pages/Content.vue> at pages/_content.vue <Nuxt> at .nuxt/components/nuxt.vue <Default> at layouts/default.vue <Root>

and

Failed to load resource: the server responded with a status of 500 (NuxtServerError) (hello-world)

This question is available on Nuxt.js community (#c7)

darisi avatar Sep 19 '17 21:09 darisi

Related to https://github.com/nuxt-community/nuxtent-module/issues/34

Need to fix markdown components for nuxt rc3^ versions

alidcast avatar Sep 23 '17 20:09 alidcast

I get the same still. Well, similar:

ERROR Failed to compile with 1 errors 23:15:37

error in ./content/HelloWorld.comp.md

Syntax Error: Unexpected end of JSON input at JSON.parse ()

@ ./content/HelloWorld.comp.md 4:0-184 @ ./content .comp.md$ @ ./.nuxt/plugins.markdownComponents.template.684e60d2.js @ ./.nuxt/index.js @ ./.nuxt/client.js @ multi webpack-hot-middleware/client?name=client&reload=true&timeout=3000&path=/__webpack _hmr ./.nuxt/client.js

Any ideas?

bohtho avatar Nov 03 '17 22:11 bohtho