Skip to content

Update index.rst : adding svelte to regex #987

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

Merged
merged 1 commit into from
Jul 6, 2023
Merged

Conversation

youassi
Copy link
Contributor

@youassi youassi commented Jul 4, 2023

Q A
Bug fix? no
New feature? no
Tickets fix doc : adding svelte to regex
License MIT

@youassi youassi changed the title Update index.rst Update index.rst : adding svelte to regex Jul 4, 2023
@@ -60,7 +60,7 @@ code to your ``assets/app.js`` file:
// assets/app.js
import { registerSvelteControllerComponents } from '@symfony/ux-svelte';

registerSvelteControllerComponents(require.context('./svelte/controllers', true, /\\.(j|t)sx?$/));
registerSvelteControllerComponents(require.context('./svelte/controllers', true, /\.(ts|js|svelte)$/i));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is a mistake! It should actually match the recipe exactly: https://github.com/symfony/recipes/blob/main/symfony/ux-svelte/2.9/manifest.json

Can you update it to match?

Copy link
Contributor Author

@youassi youassi Jul 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@weaverryan done !

youassi added a commit to youassi/recipes that referenced this pull request Jul 5, 2023
| Q             | A
| Doc issue/PR  | symfony/ux#987
@weaverryan
Copy link
Member

Thanks @youassi!

@weaverryan weaverryan merged commit f0c5fea into symfony:2.x Jul 6, 2023
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