Closed Bitaru closed 2 years ago
Hi @Bitaru!
Thanks for posting this. Help me understand your use case. Does either of these describe the problem you have or foresee?
-- john
I'm not yet using Rave (still under consideration for the SPA version of our site; doing the sections that need progressive enhancement now), but I can say that scenario 1 would apply to me.
Hi John!
First point exactly match for me - project have 3 locales and bases(/en/, /de/, /ru/).
When rave start loading libs it drops 404 for packages, coz there is no folder /ru/ in project - GET http://more.dev/ru/bower_components/backbone/backbone.js 404 (Not Found)
Also, i think, baseUrl from meta in init
function will be great solution for scripts storage at cdn.
Anybody interested in tackling this one?
Hi there! I just started new php project with Rave, and caught that BaseUrl is
location.protocol + '//' + location.host + location.pathname
, i think most projects use fixed path for assets so may be better to use '/' or load baseUrl from meta?