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
Contao 4: Copy files outside files-folder with composer #74
Comments
What do you mean it didn't matter in Contao 3.5?
|
In Contao 3.5 i am able to copy a file to from a repository into |
How do you copy instead of symlink in 3.5?
|
It probably does not make any sense to copy templates into the
That's the default behavior. |
I was using composer to install our nutshell framework kit, a boilerplate that, once installed, can be modified by the user (that's why i copy instead of symlink). I liked the idea to install a boilerplate via composer, but it looks like downloading and copying files by hand is now the only way to install the kit. For more details, check: erdmannfreunde/euf_nutshell_kit#2 |
I think your use case is better done with a project boiler plate. There you can pre-populate anything you want. |
Well a user can always edit the templates of an extension, why would you need to copy them to the root folder?
|
@aschempp sorry for the misunderstanding. @fritzmg Do you know good resources how to create a project boiler plate? |
In #68, we were talking about adding static files (not symlinks) to the files folder. Now i'm looking for a way to copy files to a folder outside of
files
, for example intotemplates
or even to the root (for files like package.json, gulpfile.js).In Contao 3.5 it doesn't matter, where you want to add your files, but in C4 this isn't working anymore. Is there a chance, that this function is coming back or is it forbidden because of security reasons? If it won't come back, do you have a recommendation how to solve this issue?
The text was updated successfully, but these errors were encountered: