rogden / tailwind-config-viewer

A local UI tool for visualizing your Tailwind CSS configuration file.
1.98k stars 110 forks source link

Upgrade to vue 3 #91

Open bkjohnson opened 7 months ago

bkjohnson commented 7 months ago

Vue 2 reached end of life in December, so this upgrades the package to Vue 3 following the vue CLI migration instructions. Moving to vue 3 gets us onto Vite. The priorities for this work were to keep the local npm scripts running while also making sure that the cli still worked when the package is used as a dependency.

I've also bumped the tailwind version.

To test these changes I did the following:

Dark mode still works, and I was able to see the config values that I expected to see.

rogden commented 7 months ago

@bkjohnson Thank you! Will take a look this weekend. Appreciate your efforts.

ineshbose commented 7 months ago

Thank you! Will take a look this weekend. Appreciate your efforts.

Small bump reminder in case! Hope you get time to look at this for this weekend. 🙂

ineshbose commented 4 months ago

Disappointed to see this close. :(

bkjohnson commented 4 months ago

It seemed like @rogden wasn't interested, and after his work on the 2.0 release there were some merge conflicts that I wasn't motivated to deal with.

rogden commented 4 months ago

@bkjohnson Thanks for the work on this. I do think upgrading to Vue 3 is important in the mid term and appreciate the work. While I'm not certain I would ditch Koa as it is used to serve the app to the Nuxt Tailwind module, there are some other parts of this work that would make sense to incorporate. I'm happy to take over the work when I get time if you wouldn't mind leaving it open.

bkjohnson commented 4 months ago

That's fine with me.