Comments (10)
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.
@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.
@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.
If you cannot use 3000
then do this:
- change
nuxt.config.js
and add:
server: {
port: 3001,
}
-
go into your
.env
and changeAPP_API
to point at your newly defined port -
clear your laravel config cache
from laranuxt.
@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.
@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.
@acidjazz Completely agree on removing bulma in place of tailwindcss. Tailwind rocks!
from laranuxt.
@connecteev great, working on this now, should have something cleaner up in 15-20m :)
from laranuxt.
@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.
@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)
- Login with E-Mail doesnt work HOT 9
- form helper HOT 1
- php artisan serve does not work HOT 2
- Every Route returns 302 HOT 1
- Error Command "logs" not found. HOT 1
- redirect to home when reload the page
- guest page not working HOT 1
- i18n not working HOT 1
- css does not load if using production build HOT 3
- How to change nuxt address?
- updates to pull from qv
- Error when running yarn dev HOT 5
- How to login with email and password ? HOT 2
- nuxt v3 - auth module/plugin middleware HOT 4
- Contribution guide HOT 2
- Static Analyser HOT 4
- Vuetify lazy image loading HOT 2
- docker support HOT 4
- Permission denied when trying to clone git repo HOT 4
- icon and html validation modules HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laranuxt.