Skip to content

Paths not working when in sub-directory #37

Description

@lukasreusch

I've installed the plugin successfully.

Path to application http://localhost/app

If I include the css-files without slash at the beginning:

{!! Minify::stylesheet([
      'assets/plugins/pace/pace-theme-flash.css'
    ]) !!}

I get the error message:
File '/Applications/XAMPP/xamppfiles/htdocs/app/publicassets/plugins/pace/pace-theme-flash.css' does not exist

If I add the slash I get no error message but the css-files are not loaded because the path is not correct:

http://localhost/assets/plugins/.....

Adding a base_url didn't help. What I am doing wrong?

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions