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

fix: #883 Cannot find any path matching /_tailwind/, when using baseUrl: '/dev/'. #884

Closed

Conversation

richardevcom
Copy link
Contributor

@richardevcom richardevcom commented Jul 29, 2024

Fixed issue #883: Cannot find any path matching /_tailwind/, when using baseUrl: /dev/.

πŸ”— Linked issue

Issue #883

❓ Type of change

  • [ x] 🐞 Bug fix (a non-breaking change that fixes an issue)

πŸ“š Description

 Fixed issue #883: Cannot find any path matching /_tailwind/, when using baseUrl: '/dev/'.

This change is required to fix Tailwind Config Viewer embedded url by appending missing baseUrl setting (if set).

Fixed issue nuxt-modules#883: Cannot find any path matching /_tailwind/, when using baseUrl: '/dev/'.
Cannot find any path matching '/_tailwind/'
Copy link

netlify bot commented Jul 29, 2024

πŸ‘· Deploy request for nuxt-tailwindcss pending review.

Visit the deploys page to approve it

Name Link
πŸ”¨ Latest commit 0f1193b

Copy link

what-the-diff bot commented Jul 29, 2024

PR Summary

  • Enhanced URL construction in module.ts
    The way we structure our URLs was improved for better consistency across different environments. Now the base URL of the application is combined with the endpoint to ensure we're correctly pointing to the desired service.

  • Modified Button Component
    The Button component that we use in the application was updated to improve usability and customization. The following changes were made:

    • Introduced label property
      The 'label' property was added as a required prop with a string type for our button component. This will allow developers to directly pass in the text that will be displayed on the button.

    • Changed how button content is rendered
      Instead of using slot technology for displaying the text on the button, we now directly use the 'label' property input from the props. This makes altering the button text more straightforward and less error-prone.

@richardevcom richardevcom changed the title fix: Updated Tab view src fix: #883 Cannot find any path matching /_tailwind/, when using baseUrl: '/dev/'. Jul 30, 2024
I made a mistak in previous commit forcing default '/' baseURL in front of already existing trailing slash before default `/_tailwind/`.

This fix makes sure if baseURL is `/` it removes it and if it has something similar to `/dev/` it with return `/dev`, making final url `/dev/_tailwind/`.
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.

1 participant