[@nuxt/content-theme-docs] Global components don't work on Windows
See original GitHub issueVersion
@nuxt/content: 1.5.3 @nuxt/content-theme-docs: 0.3.1 nuxt: 2.14
Node 14.7 Windows 10
Reproduction Link
Repo created using npx create-nuxt-app
and content module + docs theme.
https://github.com/adrianschubek/orm-ts-docs/tree/bug
Component in /components/global/Test.vue
<template>
<div>
This is a test
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
Markdown in /content/en/test.md
---
title: 'Introduction'
description: 'Empower your NuxtJS application with this awesome module.'
position: 1
category: 'Getting started'
version: 1.4
fullscreen: false
menuTitle: 'Intro'
---
Introducing my awesome Nuxt module!f
<alert type="info">
Check out a warning alert with a `codeblock`!
</alert>
<test></test>
Steps to reproduce
- Clone the repo
npm i && npm run dev
- Go to
http://localhost:3000/
- Click Intro or visit http://localhost:3000/test --> Error
What is Expected?
What is actually happening?
Visiting http://localhost:3000/test directly or refreshing the page will result in the following. However when going to http://localhost:3000/ and clicking the sidebar navigation link it works.
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (11 by maintainers)
Top Results From Across the Web
Writing content - Nuxt Content
Learn how to write your content/, supporting Markdown, YAML, CSV and JSON.
Read more >Installation - Nuxt
Here, you will find information on setting up and running a Nuxt project in 4 ... Open the index.vue file in your editor...
Read more >Layouts directory - Nuxt
Every file (top-level) in the layouts directory will create a custom layout accessible with the layout property in the page components. Let's say...
Read more >Configuration - Nuxt
The css Property ... Nuxt lets you define the CSS files/modules/libraries you want to set globally (included in every page). In case you...
Read more >Plugins directory - Nuxt
The plugins directory contains your Javascript plugins that you want to run before instantiating the root Vue.js Application.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have same problem, and i found the problem in .nuxt\components\plugin.js maybe, but don’t know reason.
Version
@nuxt/content-theme-docs: 0.5.2 nuxt: 2.14.3
Node 12.16.3 Windows 7
Manual operation delete webpackChunkName windows path and it work
Hey there 👋
@nuxt/content-theme-docs is moving away and will not get any updates, very soon we will open-source Docus, a brand new theme based on Nuxt 3, and Content v2 with lots of fixes, improvements, and new features.
I’m closing this issue in favor of the new docs theme. Keep an eye on https://github.com/nuxt/content/issues/726 for updates