-
Notifications
You must be signed in to change notification settings - Fork 16
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
theme files not being exposed unless public folder is present #35
Comments
A much more annoying issue is happening now that I switched to using a When it happens with module files it's not that big of a deal cause I can delete the whole module and re-install it with composer which fixes the problem until it decides to delete the files again. Apache:
|
Hey @dylangrech92, sorry to hear you're having issues. Can you confirm that you've applied the appropriate
For the second issue, how are you running |
hey @Cheddam I have the theme as a stand alone repo with the following composer.json:
So to clarify, this works perfectly if a public folder exists, however if it doesn't, these wouldn't be exposed to Using your recommendation worked but that would mean such config would need to exist in the app's As for the second issue I managed to debug enough to find out that it's a Vagrant problem... Vagrant, mounted folders and composer simply don't play well together so symlink behavior is unreliable at best. Forcing the Thanks :) |
Thanks for the additional context @dylangrech92, glad to hear you sorted the second issue. |
So, due to some limitation in the hosting providers I wasn't able to create a
public
directory and instead used the native_resources
directory in the root. After a bit of refactoring of my themes decided to use the expose feature for the static files but it simply wouldn't work. All the vendor modules where being exposed but anything in thethemes
directory would not.After creating a
public
folder everything worked fine for the themes but it obviously broke all the paths to the vendor modules.Is it possible to have themes expose to
_resources
directory like the vendor modules please?The text was updated successfully, but these errors were encountered: