Skip to content

Fail when using relative URL #106

@lyrixx

Description

@lyrixx

Hello,

Thanks for this bundle, but I have many issues

Custom css not used at all

@tailwind base;
@tailwind components;
@tailwind utilities;

@import './test.css';

test.css is not used at all

Relative URL does not work

@import './base/font.css';

and

@font-face {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 400 700;
    src: url('../../fonts/noto-serif-vf.woff2') format('woff2-variations');
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 700;
    src: url('../../fonts/open-sans-vf.woff2') format('woff2-variations');
    font-display: swap;
}

It produces a 500. I also tested with ../ instead of ../../, but I got another error


I pushed a repository, with both reproducer. Just adapt app1.css to app2.css in the configurations

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