Skip to content

'<sm:' prefix is not supported by VSCode #252

Open
@ptrxyz

Description

@ptrxyz

image

Seems the <sm: prefix is not recognized by VS Code.

Workaround: As soon as I define it in windi.config.mjs it works:

import { defineConfig } from 'windicss/helpers'

export default defineConfig({
    theme: {
        screens: {
            xs: '510px',
            sm: '640px',
        },
    }
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions