Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vuestic compiler #4337

Open
m0ksem opened this issue Jul 3, 2024 · 1 comment
Open

Vuestic compiler #4337

m0ksem opened this issue Jul 3, 2024 · 1 comment
Assignees
Labels
feature Something useful to end user

Comments

@m0ksem
Copy link
Collaborator

m0ksem commented Jul 3, 2024

We can easily make Vuestic as rollup/vite plugin. It gives more control of user development experience with compilation step.

Features:

  • CSS layers (I've done it before) - fix for issues when vuestic styles have more importance over tailwind - easy
  • Extended config support - automatic TS type generations. Similar to Nuxt types generations. - medium
  • Components auto-imports
    We have unplugin-auto-imports and nuxt is kind of solving this problem on it's own. - medium
  • In-Component tree-shaking - remove some features from component if it is not used - something similar to feature flags. Not sure if it is possible to make automatic. - hard
  • Global config without defaults. Replace defaults with values from vuestic.config.ts - easy
  • Built-in devtools - hard
  • Auto sync colors from vuestic.config.ts with Tailwind or UnoCSS (without cli) - medium
@m0ksem m0ksem added the feature Something useful to end user label Jul 3, 2024
@m0ksem m0ksem self-assigned this Jul 3, 2024
@m0ksem
Copy link
Collaborator Author

m0ksem commented Jul 3, 2024

As MVP - CSS layers and dev-tools.

Can be integrated both in nuxt and vite plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Something useful to end user
Projects
None yet
Development

No branches or pull requests

1 participant