Open pculka opened 6 years ago
Would be to cool to add.
youle
While images look reasonable for me, I'm against web fonts. Really, there's nothing related to Symfony except using asset()
Twig function to build proper paths. What about asset()
function itself - we already have examples of it for JS/CSS files
Handling uploads sounds very useful to include in symfony/demo
. What would You recommend ?
VichUploaderBundle
since it's suggested by Symfony docs.As always, it depends on your use cases. If there's a bundle that fits your needs - use it as it's a ready-to-use solution, make even more sense if it's a popular, well-tested, and maintained bundle.
Actually I meant using assets in templates and stylesheets while using webpack encore. Not uploading files... And as far as custom fonts go: there are many usecases, one of which is corporate design which might have been historically supplied as a webfont. Switching to svg might be a bit off. Being against including handling of fonts in a demo is a bit awkward...
It would be great to see the right way to handle multiple file (image) uploads. 👍
@pculka What do you mean by custom fonts feature ?
@SundownDEV : like when I create my own webfont .eot, .woff, .ttf ...
Handling uploads sounds very useful to include in
symfony/demo
. What would You recommend ?
- Handling uploads as described in the docs - https://symfony.com/doc/current/controller/upload_file.html or
- using
VichUploaderBundle
since it's suggested by Symfony docs.
I just use VichUploaderBundle...
Can you please extend your demo to include common items, like for example:
Thank you