Replies: 0 comments 3 replies
-
I love it. Symlink is a great one-project solution. We've been considering the symlink as a general solution for a while too, but it has one big downside we can't avoid for some projects: other packages can't add stuff to the
With the current directory structure & the symlink, I don't see how you can install Solution 1 - directory hierarchy by php packagesHowever, with a breaking change, we could:
That is to say... instead of thinking of
Solution 2 - reserve 'packages' for
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When we install backpack with
php artisan backpack:install
, all files are published including thepackages
dir. Thepackages
dir weight around ~87MB. I dont really want to include all those packages into my codebase, so instead i create a command to make a symlink ofvendor/backpack/crud/src/public/packages
dir intopublic/packages
. just like whatphp artisan storage:link
did, now its only weight 4KB in the codebase.i am new with backpack, what do you think?
what is your current implementation of this?
a sneek peek of the command
Beta Was this translation helpful? Give feedback.
All reactions