Skip to content

Ability to load .less per page on demand #1161

Closed

Description

@someyoungideas

This is a larger scope request/question, would it be possible to load and delete .less files in the browser per page loaded. For example, I create a specific .less file for a home screen and separate for a contact page. I would like to load a .less file when the user visits the home screen and when they navigate to the contact page the browser removes the home .less and loads the contact .less. This may be outside the scope of this project, but just curious.

Thanks

Activity

  1. lukeapage commented on Feb 5, 2013

    @lukeapage
    Member

    it would be quite easy to do this yourself if you look at the source in browser.js and the usage code on lesscss.org

  2. lukeapage commented on Feb 25, 2013

    @lukeapage
    Member

    duplicate of #771

  3. levithomason commented on Oct 16, 2014

    @levithomason
    Contributor

    Fixed in #2233.

  4. added a commit that references this issue on Oct 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions