Skip to content

Conversation

WayneMorganUK
Copy link

On deployment to netlify I noticed that all the urls had trailing slashes. This resulted in an issue with the styling of active items on the navbar on pages other than root. This was not an issue in npm run dev nor npm run preview but only on deployment.
By adding a trailing slash to the anchor tags resolved the lack of styling

@vercel
Copy link

vercel bot commented Jun 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
astro-beginner-project ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2023 2:34pm

@WayneMorganUK WayneMorganUK marked this pull request as ready for review June 6, 2023 14:35
@ohansemmanuel
Copy link
Contributor

Thanks, @WayneMorganUK - do you mind using the existing package manager? i.e., npm ? This will remove the need for the pnpm lock file.

Cheers, and thanks for spotting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants