Hi Jonathan,

That is correct, http://localhost/Application/css/test-file.css is the URI
from which the file will be served by the ZF2 application.

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 3 May 2014 05:14, Jonathan Sundquist <[email protected]> wrote:

> Hi Marco,
>
> Thank you for your reply.  Your blog post is exactly what I am looking
> for.  One question on it though. When it states that I should test the
> application using
> http://localhost/path/to/ZendSkeletonApplication/Application/css/test-file.css,
> if I am using a vagrant instance and /Application is actually at the root
> should I be able to just go http://localhost/Application/css/test-file.cssif 
> everything is set up correctly?  If that is the case that I think I
> missed something.
>
> Thanks,
> Jonathan
>
>
> On Fri, May 2, 2014 at 6:51 PM, Marco Pivetta <[email protected]> wrote:
>
>> Hi Jonathan,
>>
>> You may want to look at asset-management modules such as AssetManager (I
>> described it at
>> http://ocramius.github.io/blog/asset-manager-for-zend-framework-2/ ) (
>> https://github.com/RWOverdijk/AssetManager ) or BaconAssetLoader (
>> https://github.com/Bacon/BaconAssetLoader ).
>>
>> Cheers,
>>
>> Marco Pivetta
>>
>> http://twitter.com/Ocramius
>>
>> http://ocramius.github.com/
>>
>>
>> On 2 May 2014 22:26, Jonathan Sundquist <[email protected]> wrote:
>>
>>> Good afternoon.
>>>
>>> I'm working on a project where we have a lot of modules. We are looking
>>> to
>>> have each module contain the css, images, and javascript required for it
>>> to
>>> function. According to
>>>
>>> http://framework.zend.com/manual/2.1/en/modules/zend.module-manager.intro.htmlit
>>> should be possible but when I call /css/style.css it cannot find the
>>> file? I do have a public directory located under my module at the same
>>> level as src. Is there something else I need to do?
>>>
>>> Thanks,
>>> Jon
>>>
>>
>>
>

Reply via email to