slmnio / slmngg-sfc

New SLMN.GG website & server
5 stars 8 forks source link

Migrate from vue cli to vite #176

Closed zusorio closed 1 year ago

zusorio commented 1 year ago

This PR migrates the slmn.gg frontend from vue-cli to vite by using this guide.

The main changes are:

slmnio commented 1 year ago

This looks good, I've had a play with it to try and break it and everything looks like it should be in working order. I might try to run it on the main server first, then we can merge it in completely.

slmnio commented 1 year ago

I used the build-stage action on the server, so dev.slmn.gg is live with it right now. It looks like Vue doesn't know that it's in developer mode, but the site does. I wonder if the stage building process can tell Vue to build in development mode so things are still accessible compared to the full prod build. image

zusorio commented 1 year ago

I've force-enabled vue devtools in staging in 80899b54234a6cbe4aea2110c13783b9f427d625, i can take a look at fs next

slmnio commented 1 year ago

Nice stuff so far

zusorio commented 1 year ago

Recoloring works again after replacing jimp with image-js

slmnio commented 1 year ago

Looks great