Comments (9)
Those config values should be set via the flex recipe so it should not be too much troubles for most.
There is something with the command i’ll check that in a couple of hours.
from ux.
I dont get your PS: how would you rename the option ?
from ux.
@smnandre Something like namespace_directory_mapping
.
from ux.
The configuration file copied by Flex should be this one.
twig_component:
anonymous_template_directory: 'components/'
defaults:
# Namespace & directory for components
App\Twig\Components\: 'components/'
I find it pretty good but there is always room for improvement, so feel free to open an issue/PR to suggest changes :)
from ux.
t least the
console debug:twig-component
command fail:Unknown component "foobar.twig". And no matching anonymous component template was found.
What are the arguments given to the command ?
This message should only happen if you type something like
php bin/console debug:twig-component foobar.twig
But maybe there is something not working as expected there
from ux.
I find it pretty good but there is always room for improvement, so feel free to open an issue/PR to suggest changes :)
That is why I mentioned it :-)
What are the arguments given to the command ?
Just plain console debug:twig-component
from ux.
Could you update symfony/ux-twig-component and check if it still happen ? I think this could be something we fixed already.
If that does not help things (but i'm pretty confident it will), i'll probably need more details about the structure / name of your templates and classes.
But i really do think an update will fix this problem
from ux.
@smnandre I now know where the problem is. Stay tuned…
Btw, would be good to merge #1314 in the meantime :-)
from ux.
It would be :)
from ux.
Related Issues (20)
- [Autocomplete][LiveComponent] Select box doesn't reset when used in a live component HOT 7
- [TwigComponent] Having troubles accessing blocks in deeply nested component HOT 11
- Get data from <twig:block> in class HOT 2
- [LiveComponent] Batch request to save function, throws error: The submitForm() method is being called, but the FormView has already been built HOT 2
- [Site] Using raw data attributes HOT 2
- [LiveComponent] Live Actions cannot handle file downloads HOT 2
- [Turbo] InstantClick should not prefetch links from Web Debug Toolbar HOT 11
- [LiveComponent] TemplateCacheWarmer not warming up cache HOT 15
- [Typed] Add a helper or use <template> to provide values HOT 2
- [TURBO] Impossible to redirect with anchor HOT 2
- [LiveComponent] Calling a property using a getter (i.e. computed) doesn't update component state (another component property)? HOT 5
- [TwigComponent] Profiler, memory consumption HOT 13
- The option "extra_options" does not exist. HOT 4
- [LiveComponent] How "defer" option work and the logic behind __invoke HOT 5
- [LiveComponent] getComponent is undefined if the controller loads very quickly as explained in the docs HOT 6
- [LiveComponent] `data-model` started throwing the "Invalid model name" error after upgrading to 2.15 HOT 1
- [LiveComponent] Can I rely on "busy" attribute to show a loading indicator outside a component?
- [Autocomplete] Doesn't load correctly on the first input HOT 1
- [LiveComponent] Updated values not submitted to the server properly HOT 7
- [Site] Add example for LazyImage with `srcset`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ux.