Comments (4)
It should automatically connect to feathers using sockets as long as you are making api requests client side. You can see the feathers.service.js and sync.list.service. If you are making api requests server side it will use axios. Take a look at the services/api/ folder. This is for if you want to retrieve information for server side rendering before you render the page.
.configure(socketio(socket))
from feathers-vue.
I understood that it would work automatically. But it was not what I expected. So, I think, I dont understand correctly.
I started the project, log in and Add a message. After that, I went to MongoDB and changed the same message. This information is not reflected on the screen. I'm forced to refresh the screen. :(
from feathers-vue.
I don't believe real time watches the database for changes, it builds off of events generated by the server or API events. So you would have to change the message through something like postman where you are making an API request.
from feathers-vue.
Thanks.
I will think about. This resolves 80% for my solution. I will study your project. Thanks.
from feathers-vue.
Related Issues (11)
- Npm run serve Failed HOT 5
- FYI install and yarn dev warnings
- Unable to create any service on top of your repo,, Error: Cannot read property 'call' of undefined HOT 5
- pug is not a loader error, new routes not generating
- Couldn't find env file HOT 2
- Unverified user is able to login HOT 3
- Authentication via REST? HOT 2
- REST services documentation HOT 3
- Please make it possible to use with other DB backends HOT 2
- Make the cordova branch framework agnostic HOT 1
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 feathers-vue.