Provde a nuxt3 starter setup

Created on 25 November 2022, over 1 year ago
Updated 13 February 2023, over 1 year ago

Problem/Motivation

Nuxt3 1.0 is finally out, so let's provide a Nuxt3 starter setup asap.

Remaining tasks

Port nuxtjs-drupal-ce to Nuxt3

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria fago Vienna

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Needs work over 1 year ago
  • πŸ‡¦πŸ‡ΉAustria fago Vienna

    now this became 2.x version. ongoing work and todos are tracked in the issues over at https://github.com/drunomics/nuxtjs-drupal-ce (2.x)

    next step is making a nuxt3 version of the demo at https://github.com/drunomics/lupus-decoupled-nuxt3-demo

  • Status changed to Needs review over 1 year ago
  • πŸ‡¦πŸ‡ΉAustria fago Vienna

    2.x-alpha3 is out and offers good and stable DX. Remaining open issues/todos are tracked in nuxtjs-drupal-ce github issues.

    I've just tested https://github.com/drunomics/lupus-decoupled-nuxt3-demo successfully using stackblitz. Let's provide a drupalpod setup with Nuxt3 now.

  • πŸ‡ΊπŸ‡ΈUnited States glynster

    @fago we are super excited about this project and the progress you have made.

    We are about to commence a new project and think it is time to utilize your dev work.

    Would you suggest using Nuxt 2 or jump straight to Nuxt 3? Our current projects have been using Nuxt 2 ATM.

  • πŸ‡¦πŸ‡ΉAustria fago Vienna

    @glynster: Thank you for the feedback, that's great to hear! Please don't hesitate to reach out via slack if you have any questions or run into troubles with the stack!

    I think it would be the better option to start with Nuxt3, but of course depends on the project timeline and your teams skills on Nuxt2 vs Nuxt3. From a nuxtjs-drupal-ce perspective it's in alpha, but I think we are close to the beta. We want to focus on stabilizing it during the next 2 weeks, so we have a beta and stable version upcoming asap.

  • πŸ‡¦πŸ‡ΉAustria fago Vienna

    I managed to have the nuxt3 demo repo working with our demo project now, I made it configurable via ENV-var. FRONTEND_REPOSITORY - defaulting to nuxt2 setup for now.

    https://gitpod.io/#DP_PROJECT_NAME=lupus_decoupled,DP_ISSUE_BRANCH=1.x,D...

    That part works fine, but I'm getting some error when running with nuxt3, so need to check this next.

  • πŸ‡ΊπŸ‡ΈUnited States glynster

    @fago thanks so much for the advice. I will hit you up on slack as I have been working with a local setup of Drupal 10 and nuxt 2. Menu and so forth work well. However rendering content is a different story. It does not quite work out of the box. We use Paragraphs and Paragraph layouts with Bootstrap markup and I think this is the issue. When we query anything with ?_format=custom_elements on Drupal end the content shows (all merged) but it is missing all html markup and using the slots such as default or content render nadda.

    Lastly we have had no success with GitPod, we always get the following error.

    Keep up the great work!

  • Status changed to Fixed over 1 year ago
  • πŸ‡¦πŸ‡ΉAustria fago Vienna

    Tested the nuxt 3 again, it actually works fine. Thus added it as another demo option to the project page and linked both nuxt2 + nuxt3 demo repo + marking this fixed.

    @glynster: I see, not sure about the issues you run into, but I'm happy to help. Let's check via slack!

    > Lastly we have had no success with GitPod, we always get the following error.
    Please open a separate bug report for it. I've had that from time to time as well, not sure what causes it - but seems it's a general problem! But when you refresh the browser or open it in a new tab, it should work just fine - at least it did always for me when I had that.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024