phiamo / MopaBootstrapSandboxBundle

Sandbox Bundle used to seperate live doc from code
http://bootstrap.mohrenweiserpartner.de
Other
24 stars 40 forks source link

doesn't seem to properly reference css #7

Closed chaostheory closed 12 years ago

chaostheory commented 12 years ago

I can hit the default page, the problem is that it doesn't seem to properly reference the css.

Looking at the mopabootstrapsandboxbundle.less, I feel that there are incorrect references:

1) Unless I've missed something, I don't see a bootstrap-bundle directory anywhere. Moreover, not including that folder, the path just seems to be wrong.

(seems wrong) import "../../../../../../../../mopa/bootstrap-bundle/Mopa/Bundle/BootstrapBundle/Resources/public/less/mopabootstrapbundle.less";

(looks right) @import "../../../../BootstrapBundle/Resources/public/less/mopabootstrapbundle.less";

2) Looking at your Twitter Bootstrap integration docs, I see the following dep config:

[TwitterBootstrap2] git=git://github.com/twitter/bootstrap.git target=/twitter/bootstrap/v2/ version=v2.0.0

Well I could be wrong but I feel this conflicts with what you have in mopabootstrapsandboxbundle.less.

(seems wrong) @import "../../../../../../../../twitter/bootstrap/less/responsive.less"

(looks right) @import "../../../../../../../twitter/bootstrap/v2/less/responsive.less";

Unfortunately even with these changes I still can't reference the css. Was I completely off? What am I missing?

It's still possible I messed up somewhere. Anyways here's my relevant deps content:

[MopaBootstrapBundle] git = "http://github.com/phiamo/MopaBootstrapBundle.git" target = "/bundles/Mopa/Bundle/BootstrapBundle" version=origin/v2.0.x

[TwitterBootstrap2] git=git://github.com/twitter/bootstrap.git target=/twitter/bootstrap/v2/ version=v2.0.4

[MopaBootstrapSandboxBundle] git=http://github.com/phiamo/MopaBootstrapSandboxBundle.git target=/bundles/Mopa/Bundle/BootstrapSandboxBundle version=origin/v2.0.x

[knp-components] git=http://github.com/KnpLabs/knp-components.git

[knpmenu] git="http://github.com/KnpLabs/KnpMenu.git"

[KnpMenuBundle] git="http://github.com/KnpLabs/KnpMenuBundle.git" target="/bundles/Knp/Bundle/MenuBundle"

phiamo commented 12 years ago

Might be havent ried recenty.. the main diff is the location where the bundles are stored. using deps in vendor/bundles using composer in vendor/company/subnamespace/ so you have to adapt it for your bundle anyways if its in src...

chaostheory commented 12 years ago

ok cool once I get this working I'll update the docs.