CalendarBundle icon indicating copy to clipboard operation
CalendarBundle copied to clipboard

Add documentation for AssetMapper installation

Open tacman opened this issue 1 year ago • 6 comments

The documentation describes installing the bundle with WebpackEncore, we should also document how to install with AssetMapper, which is now the Symfony preferred way.

Of course, we can't do that until the jsDeliver issue is fixed.

tacman avatar Mar 05 '24 12:03 tacman

Good idea. Are you up for a PR?

Chris53897 avatar Mar 05 '24 15:03 Chris53897

Sure, but it won't work until the jsdelivr problem is fixed. And chance you could prioritize that? It's a show stopper for me, since asset mapper and webpack encore are incompatible and can't be used together.

On Tue, Mar 5, 2024, 9:30 AM chris @.***> wrote:

Good idea. Are you up for a PR?

— Reply to this email directly, view it on GitHub https://github.com/tattali/CalendarBundle/issues/70#issuecomment-1979039263, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEXIQIYXUFK5HN5QLKB7CLYWXQKRAVCNFSM6AAAAABEHA7MNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGAZTSMRWGM . You are receiving this because you authored the thread.Message ID: @.***>

tacman avatar Mar 05 '24 16:03 tacman

Can you be more specific about the JsDeliver Problem? No ESM Version?

Could this solve it? https://github.com/symfony/symfony/pull/54133 https://github.com/symfony/symfony/issues/54130

Chris53897 avatar Mar 06 '24 08:03 Chris53897

Indeed, those issues might fix the problem. Someday.

The issue is with fullcalendar, not with CalendarBundle. Here's an example of it not working:

https://jsfiddle.net/tacman1123/917t4mas/2/

This issue has to do with deduping, as described in the issue linked above. So there's not really anything the bundle can do, except provide documentation on how to use it despite not being installable via AssetMapper. And I'm not even quite sure how to do that. Grab the css and js from the cdn, I guess, my javascript skills are limited.

tacman avatar Mar 06 '24 11:03 tacman

Ok, Thanks for the infos

Chris53897 avatar Mar 06 '24 13:03 Chris53897

Some news about how to install this bundle with AssetMapper?

davidromani avatar Jan 24 '25 16:01 davidromani