question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicated path prefix with static rendering and RC6

See original GitHub issue

Environment


  • Operating System: Linux
  • Node Version: v16.15.0
  • Nuxt Version: 3.0.0-rc.6-27641313.416f98b
  • Package Manager: yarn@3.2.1
  • Builder: vite
  • User Config: srcDir, ssr, app, publicRuntimeConfig, nitro, alias, typescript, hooks, build, css, buildModules, telemetry, intlify, dayjs, vite
  • Runtime Modules: -
  • Build Modules: @pinia/nuxt@0.3.0, @intlify/nuxt3@0.2.3, @vueuse/nuxt@8.9.4, @nuxtjs/dayjs@1.4.1

Reproduction

Run a static build with : nuxi generate

Describe the bug

Duplicated prefix in the .output/public/index.html

<head >
  <link rel="stylesheet" href="./_nuxt/_nuxt/entry.d20389ae.css">
</head>

Additional context

No response

Logs

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
danielroecommented, Jul 22, 2022

@nikolas-psaroudakis-rokoko Would you open a new issue with a reproduction?

0reactions
nikolas-psaroudakis-rokokocommented, Jul 23, 2022

I’ll open a new issue in the evening, until then I would like to describe that with the webpack builder, it seems to be worse than with vite.

The generated css, js files are placed in .output/public/_nuxt/_nuxt but the generated index.html file points to _nuxt instead of _nuxt/_nuxt ( which seems to be the case with vite), so the site turns out to be broken

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reference Manual For OpenVPN 2.4
This is a client-side option. This option performs three steps: Create a static route for the --remote address which forwards to the pre-existing...
Read more >
Keys - Mithril.js
Documentation on the special "key" attribute in Mithril.js, which tracks vnodes' identities.
Read more >
Bug listing with status RESOLVED with resolution FIXED as at ...
... java/bin is not in root's path" status:RESOLVED resolution:FIXED severity:normal ... Bug:1474 - "ghostscript and static path in patches" status:RESOLVED ...
Read more >
An Overview of Cryptography - Gary Kessler Associates
RC6 : A 128-bit block cipher based upon, and an improvement over, RC5; RC6 was one of the AES Round 2 algorithms.
Read more >
Directory Services 6.5 > Administration Guide
Why LDAP directory data is replicated and what replication does ... A configuration property can include a mix of static values and expressions....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found