Skip to content

Nano Css split #358

@owjs3901

Description

@owjs3901

What is the best method to split CSS?

Maybe using a bundler that has a feature to merge CSS could build the best result.

// width 100%
import "../df/a.css"
// bg red
import "../df/b.css"

const a = <Box w="100%" bg="red" />

The CSS files will be merged by the bundler, and class names can stay consistent based on the same property keys and values,
without being changed by the file name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions