Skip to content

Commit f2e77ed

Browse files
authored
Fix Vue usage code sample
1 parent 371b35e commit f2e77ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ code to your ``assets/app.js`` file:
5454
// assets/app.js
5555
import { registerVueControllerComponents } from '@symfony/ux-vue';
5656
57-
registerVueControllerComponents(require.context('./vue/controllers', true, /\\.(j|t)sx?$/));
57+
registerVueControllerComponents(require.context('./vue/controllers', true, /\.vue$/));
5858
5959
This will load all Vue components located in the ``assets/vue/controllers``
6060
directory. These are known as **Vue controller components**: top-level

0 commit comments

Comments
 (0)