Code Monkey home page Code Monkey logo

Comments (5)

ericmdantas avatar ericmdantas commented on June 16, 2024 1

Haha, awesome catch, @TheBrenny.

Thanks for all the info!

from generator-ng-fullstack.

ericmdantas avatar ericmdantas commented on June 16, 2024

Hello, @TheBrenny.

Right, so a couple questions:

  • Is the information being shown in the network tab?
  • Is the mongod service running?

Keep in mind that Angular and Vue choice does not affect the server side, so if there's a problem, it's just in the client - either the info is not getting there, or the db is not up yet.

from generator-ng-fullstack.

TheBrenny avatar TheBrenny commented on June 16, 2024

Sorry, I should've been more clear: I'm fairly certain it's an issue on the client-side. I'm not gonna lie, I really have no clue why this is happening... 😄

Onto your questions:

  1. Yes. See the picture below.
  2. AFAIK, yes. As a foreground service, so I have an open Command Prompt.

image

from generator-ng-fullstack.

TheBrenny avatar TheBrenny commented on June 16, 2024

If it's worth anything, here's the output from the Terminal and Command Prompt when running the Vue version and adding three items:
image

Similarly, however running Angular:
image

It's starting to look like the issue isn't it the saving functionality, but the initial GET. The items I create in Vue show up in Angular (if that makes sense)... Sort of seemed like a slight red herring... 🐠

from generator-ng-fullstack.

TheBrenny avatar TheBrenny commented on June 16, 2024

Found the issue. Vue 2 no longer has the ready function. It's been replaced by mounted. That's why I was never receiving the latest posts. (See this SO answer for future reference)

Wowee. What an adventure!

from generator-ng-fullstack.

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.