Skip to content

[Feature Proposal] : Build-in solution for working with multiple files #382

@michtio

Description

@michtio

To keep an organised ( larger project ) codebase it would be nice that tailwind supports something like @import to be able to use different files.

Let's say I want to create a couple of components eg. buttons / cards with the utility classes because those will be used a lot of time during the process it would still be much more useful to split up the codebase than just adding it all to one file.

Would be nice to have an option like this to be built-in into tailwind rather than trying and to use other postcss plugins just for this functionality ( see postcss-import ) which has it's flas that you even need to use @tailwind preflight and @tailwind utilities in a seperate file. Which on it's turn is a little too much of "file splitting".

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