Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8190231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:33:13+00:00 2026-06-07T03:33:13+00:00

I am using assetic to manage my assets in a Symfony2 application. I am

  • 0

I am using assetic to manage my assets in a Symfony2 application. I am wondering where I should be placing my global or site wide assets. Should they go in the /web folder or /app/Resources folder?

here is how I am currently doing things but I am not sure if this is best practice. I have searched high and low for recommendations.

{% stylesheets filter='less'
   '../app/Resources/public/less/test.less'
   '@MopaBootstrapBundle/Resources/bootstrap/less/bootstrap.less'
%}
<link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="screen" />
{% endstylesheets %}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T03:33:15+00:00Added an answer on June 7, 2026 at 3:33 am

    Really, either is fine. And there’s even a third option of having them all in a “Core” bundle. It depends on how you want to organize your project and if you intend to share your bundles.

    I would slightly lean away from storing directly in /web. Only because I almost always combine and minify my assets so for this reason it’s easier/cleaner to keep them all in a non-web-accessible location like /app/Resources or /src/CoreBundle/Resources and then let assetic:dump or assets:install push them to the proper web location.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are building a new site using Symfony2, and Assetic looks very promising for
I'm using Symfony2 and assetic in an existing project and I can't figure out
I'd like to manage Twitter Bootstrap git repository using deps file in Symfony2. So
I'm using Symfony2, with Assetic and Twig. I have various frontend libraries - Backbone,
Using ASIHTTPRequest, I downloaded a zip file containing a folder with several audio files.
I am using assetic in a twig template to include a javascript file from
I'm trying to send data from a client application using jQuery to a REST
Using the navigator.geolocation object in JavaScript. Trying to establish accurate ranges, but wondering exactly
Using Android TelephonyManager an application can obtain the state of data activity over the
I'm trying to understand symfony2 assetic bundle. I'm trying to use a jquery plugin

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.