Skip to content

Commit

Permalink
feature #1390 Replace AJAX search with Live component (ker0x)
Browse files Browse the repository at this point in the history
This PR was merged into the main branch.

Discussion
----------

Replace AJAX search with Live component

This pull request proposes to replace the AJAX search with a live component example

Commits
-------

4d810b7 Replace AJAX search with Live component
  • Loading branch information
javiereguiluz committed Feb 13, 2023
2 parents de31ae9 + 4d810b7 commit 2ab114f
Show file tree
Hide file tree
Showing 39 changed files with 457 additions and 249 deletions.
12 changes: 11 additions & 1 deletion assets/controllers.json
@@ -1,4 +1,14 @@
{
"controllers": [],
"controllers": {
"@symfony/ux-live-component": {
"live": {
"enabled": true,
"fetch": "eager",
"autoimport": {
"@symfony/ux-live-component/styles/live.css": true
}
}
}
},
"entrypoints": []
}
106 changes: 0 additions & 106 deletions assets/js/jquery.instantSearch.js

This file was deleted.

9 changes: 0 additions & 9 deletions assets/search.js

This file was deleted.

1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -39,6 +39,7 @@
"symfony/string": "^6.2",
"symfony/translation": "^6.2",
"symfony/twig-bundle": "^6.2",
"symfony/ux-live-component": "^2.6",
"symfony/validator": "^6.2",
"symfony/webpack-encore-bundle": "^1.13",
"symfony/yaml": "^6.2",
Expand Down

0 comments on commit 2ab114f

Please sign in to comment.