-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Open
Labels
T: enhancementFunctionality that enhances existing featuresFunctionality that enhances existing featuressass
Milestone
Description
Problem to solve
Current vuetify global css includes a lot of optional selectors which in most use cases aren't used at all. It would be nice to opt in for these functionalities and keep this dry (and reduce bundle size).
Proposed solution
Split up the 'vuetify/styles' into smaller chunks like e.g.:
- 'helpers.css' (paddings, margins, overflow, flex, text helpers, around 279 kB)
- 'colors.css' (colors around 40 kB)
- 'ress.css'
- 'components.css' (this is one is a bit weird as the components already load its own style)
To be non breaking you can add the 'bare' essentials with someting like
import 'vuetify/core'
And opt in for the colors or helpers with
import 'vuetify/helpers'
import 'vuetify/colors'
TomDeSmet and petrprikryl
Metadata
Metadata
Assignees
Labels
T: enhancementFunctionality that enhances existing featuresFunctionality that enhances existing featuressass