Conversation
Notices
-
the french mushroom (duponin@udongein.xyz)'s status on Saturday, 29-Apr-2023 22:55:12 CEST the french mushroom
need help
I'm starting with Vuejs project, and I need to have a few pages to interact with my backend
e.g. a sophisticated CRUD basically
It looks like there's a multi-page[1] mode, but I can't find anything on that
Do I have to build it as SPA?
1: https://cli.vuejs.org/config/#pages-
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 29-Apr-2023 22:55:12 CEST Ekaitz Zárraga 👹
@duponin Why Vue, may I ask?
-
the french mushroom (duponin@udongein.xyz)'s status on Saturday, 29-Apr-2023 22:58:08 CEST the french mushroom
@ekaitz_zarraga
- I got good feedback
- used by Pleroma-FE, so I could try contributing on FE
- seems less insane than React
- it's the second, behind Elm, I would have choosed -
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 29-Apr-2023 22:58:08 CEST Ekaitz Zárraga 👹
@duponin If it's for something very simple I'd go for Mithril or something like that as it doesn't really have many concepts to learn and you can get started with frameworks with it. Vue seems ok too... but maybe a little bit too much for a really simple usecase.
-
the french mushroom (duponin@udongein.xyz)'s status on Saturday, 29-Apr-2023 23:03:23 CEST the french mushroom
@ekaitz_zarraga makes sense, but I still want to try it ^^' -
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 29-Apr-2023 23:03:50 CEST Ekaitz Zárraga 👹
@duponin LOL
-
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 29-Apr-2023 23:05:32 CEST Ekaitz Zárraga 👹
@duponin So anyway if what you have is an API and you need to code an app for it it has to be an SPA but you can handle different routes and associated views in the client side. I don't know how Vue does that, but all frameworks have a way for it.
-
the french mushroom (duponin@udongein.xyz)'s status on Saturday, 29-Apr-2023 23:08:17 CEST the french mushroom
@ekaitz_zarraga I've generated a new test project as an SPA, and it looks to be what I wish :) -
Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Saturday, 29-Apr-2023 23:08:17 CEST Ekaitz Zárraga 👹
@duponin yeah that's the routing I was mentioning :)
-