GithubHelp home page GithubHelp logo

What's the port of the SPA? about laravue HOT 4 CLOSED

tuandm avatar tuandm commented on August 21, 2024
What's the port of the SPA?

from laravue.

Comments (4)

dodoflying avatar dodoflying commented on August 21, 2024 2

@tuandm Thanks! Now it is working. I'm always thinking there are separated.

from laravue.

tuandm avatar tuandm commented on August 21, 2024

@dodoflying After running npm run watch, you should open another terminal (window or tab) to run php artisan serve then open the URL from console.

For the documentation, you can visit the very first version here: https://doc.laravue.dev, we are working on it so it has not been published yet.

from laravue.

dodoflying avatar dodoflying commented on August 21, 2024

@tuandm, thanks for your reply. But I still can not make it work.
I'm using Homestead right now. I already started both front-end and back-end. How do I access the front-end from my Host? If I open http://localhost:8000 from my Host browser, it will display the Laravel project but not the front-end dashboard login page.

**In my host** 
lsof -i TCP:8000 | grep LISTEN
VBoxHeadl 25478  Don   21u  IPv4 0x16ea6f963d7c228f      0t0  TCP *:irdmi (LISTEN)

I know the setting might not related to your project but I just want to know your suggestion. Thanks!

-------Added---------

I also tried http://192.168.10.10:8000/ in my Host which is the Homestead IP still not work.

from laravue.

tuandm avatar tuandm commented on August 21, 2024

@dodoflying We don't separate frontend or backend in Laravue - it's still proper Laravel instance. Have you setup Laravel before? Which URL did you use?

from laravue.

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.