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

Remove Nuxt #12

Open
dlercier opened this issue Dec 16, 2024 · 4 comments
Open

Remove Nuxt #12

dlercier opened this issue Dec 16, 2024 · 4 comments

Comments

@dlercier
Copy link
Contributor

dlercier commented Dec 16, 2024

In the first version of Recolto, Nuxt was needed in order to pregenerate pages.

This is no longer needed and nuxt comes with a lot of unnecessary dependencies and functionalities.

So we want to remove Nuxt and make Recoloto a simple Vue.js application.

Steps to remove nuxt:

Remove @nuxt/ui

This is the big part of the migration.

  1. Replace each nuxt-ui component with vanilla ones.
  2. Remove @nuxt/ui dependency

Remove nuxt

The simpliest way to achieve this is perhaps to bootstrap a brand new Vue.js project and then copy/past neede components to rebuild the app

@cbaccam
Copy link

cbaccam commented Dec 20, 2024

@SimonMellerin @dlercier I would be interested to take this issue.

@SimonMellerin
Copy link
Member

SimonMellerin commented Dec 20, 2024

@cbaccam thanks!

May be we can make this issue step by step.

I have quickly checked and here is a list of components from Nuxt/ui to remove from the project:

  • UIcon
  • UButton
  • USelectMenu
  • URadio
  • UToggle
  • UInput
  • UPopover
  • USkeleton

I propose to make one PR per component to be replaced.

If some components are too complicated to develop, we might consider replacing nuxt/ui with another components library.

@cbaccam
Copy link

cbaccam commented Dec 23, 2024

ok for one PR per component. I will start after the holidays to give me time to learn properly vue.js . I am more familiar with javascript/typescript with angular/jquery.

when you mean vanilla js, is it the standard html 5 code ?

@SimonMellerin
Copy link
Member

when you mean vanilla js, is it the standard html 5 code ?

Yes that was what I was thinking about. But, maybe it won't be so easy to do. And I don't think it's worth spending too much time on it.

We usually use the primevue component library on our Vuejs projects. We could probably use it on recolto too.

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

No branches or pull requests

3 participants