GithubHelp home page GithubHelp logo

Comments (10)

acidjazz avatar acidjazz commented on May 27, 2024

thanks @connecteev .. interesting, i've never seen it go after a random port, mine always hops on 3000. i'll look into this.

did you run yarn api first in another window so that the proxy can connect?

from laranuxt.

connecteev avatar connecteev commented on May 27, 2024

@acidjazz yes I did run it! It's not a blocker issue, and wish I could be of more help, I'm very new to nuxt. Do want to say that I am super appreciative of you and others like you for sharing your code and helpingthe community.

from laranuxt.

acidjazz avatar acidjazz commented on May 27, 2024

@connecteev do you have something else running on port 3000 ? i have that port configured in the .env folder so i can see how that might be an issue

from laranuxt.

acidjazz avatar acidjazz commented on May 27, 2024

If you cannot use 3000 then do this:

  1. change nuxt.config.js and add:
  server: {
    port: 3001,
  }
  1. go into your .env and change APP_API to point at your newly defined port

  2. clear your laravel config cache

from laranuxt.

connecteev avatar connecteev commented on May 27, 2024

@acidjazz interesting. I did have another nuxt codebase running on port 3000. Terminating that made the error go away.
Now that the error is gone, I see the user cards at localhost:3000 (I wasn't expecting to).

There is one (small) inconsistency, not sure if it's a bug. But if you go to http://localhost:3000/api/example, and then press back, the cards no longer show up.
Is this because there's no SSR the 2nd time?
https://prnt.sc/og452o
https://prnt.sc/og4590

from laranuxt.

acidjazz avatar acidjazz commented on May 27, 2024

@connecteev hmm.. interesting.. i don't konw..

I plan to remove a bunch of that stuff though and replace it with a more skeletal example using tailwindcss only, i don't think bulma is really needed in this anymore. id rather the boilerplate be easier to clean up of sample code

from laranuxt.

connecteev avatar connecteev commented on May 27, 2024

@acidjazz Completely agree on removing bulma in place of tailwindcss. Tailwind rocks!

from laranuxt.

acidjazz avatar acidjazz commented on May 27, 2024

@connecteev great, working on this now, should have something cleaner up in 15-20m :)

from laranuxt.

connecteev avatar connecteev commented on May 27, 2024

@acidjazz love it..by the way, are you open to suggestions to turn this codebase into a "kitchen-sink" or showcase application for laravel+nuxt (instead of just a skeleton)? I can make suggestions if so.
Example: "It would be cool if.. " yadda yadda :)

from laranuxt.

acidjazz avatar acidjazz commented on May 27, 2024

@connecteev totally open, name em, make isssues or 1 issue w/ a list, also check out the updated version and lmk if it works for you this time

from laranuxt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.