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

Dynamic Routes generating invalid css filename for ApiGateway #14740

Closed
pedrosoares opened this issue Aug 29, 2022 · 0 comments · Fixed by nuxt/framework#7067
Closed

Dynamic Routes generating invalid css filename for ApiGateway #14740

pedrosoares opened this issue Aug 29, 2022 · 0 comments · Fixed by nuxt/framework#7067

Comments

@pedrosoares
Copy link

Environment


  • Operating System: Darwin
  • Node Version: v16.15.0
  • Nuxt Version: 3.0.0-rc.8
  • Package Manager: yarn@1.22.18
  • Builder: vite
  • User Config: css, modules, app, router, vite, build, publicRuntimeConfig, nitro
  • Runtime Modules: @pinia/nuxt@0.4.1
  • Build Modules: -

Reproduction

When you have a Dynamic route with CSS attached to it, the build process generate a .css file with brackeys, and that breaks AWS ApiGateway, i did not find a workaround to this issue.

pages
      - client
             - [id].vue
      - product
             - [slug].vue

[id].vue

<template>
    <div>
        <h3>example</h3>
    </div>
</template>
<style scoped>
	h3 {
		font-family: "Roboto", sans-serif;
	}
</style>

Captura de Tela 2022-08-29 às 14 08 42

Describe the bug

When you have a Dynamic route with CSS attached to it, the build process generate a .css file with brackeys, and that breaks AWS ApiGateway, i did not find a workaround to this issue.

Additional context

No response

Logs

No response

@pedrosoares pedrosoares changed the title Dynamic Routes generating unavailable css filename for ApiGateway Dynamic Routes generating invalid css filename for ApiGateway Aug 29, 2022
@danielroe danielroe self-assigned this Aug 30, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants