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

feat(vue): setup-unocss generator #23118

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gnuion
Copy link

@gnuion gnuion commented May 1, 2024

Description

NX has made my developer life easier. I like UnoCSS more than TailwindCSS, but setting up UnoCSS every time is a hassle. I'm attempting to craft a plugin to automate UnoCSS setup, hoping to ease the hassle of doing it manually each time.

Expected Behavior

Should work exactly the same as nx g @nx/vue:setup-tailwind but setup UnoCSS instead.

Hardware Specifications

  • Machine: MacBook Pro M1
  • OS: Sonoma 14.4

TODOs

  • Setup environment to work on the plugin locally
  • Develop the vue setup-tailwind generator
  • Test it locally in a new repository
  • Test it locally within the fork (Error: Cannot find configuration for task @nx/nx-source:test)
  • Community review

Fixes #
#23114 (duplicate of #19888)
#19888

Copy link

vercel bot commented May 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview May 1, 2024 5:45pm

Copy link

nx-cloud bot commented May 1, 2024

@gnuion
Copy link
Author

gnuion commented May 1, 2024

I don't know if a plugin is needed for this simple setup. Nonetheless, exploring this repository was a lot of fun. It works for my use case, but further testing wouldn't hurt. We might include a style reset too!

@gnuion
Copy link
Author

gnuion commented May 1, 2024

Screengif:
ScreenRecording2024-05-01at23 02 56-ezgif com-censor

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

Successfully merging this pull request may close these issues.

None yet

2 participants