gustojs / nuxt-feathers-vuex Goto Github PK
View Code? Open in Web Editor NEWFeathers-Vuex module for Nuxt
License: MIT License
Feathers-Vuex module for Nuxt
License: MIT License
When using the example located here:
https://github.com/gustojs/nuxt-feathers-vuex#vuex-store
the actions: {}
key will overwrite the defaults store actions key, which has nuxtServerInit
on it, which in turn initialized the authentication. I just spent a few hours debugging this and finally figured out the issue.
At the very least this should be called out in the documentation, but I think a better solution is to use a deep merge in createStore instead of Object.assign.
Module ignores srcDir (srcDir: "src/",
) option from nuxt.config.js
It took me some time to figure out that in production, so after npm run build
and npm start
, the server settings are wrong. In ~/server/config/production.json
there is :
{
"host": "with-featherjs-app.feathersjs.com",
"port": 80
}
as I run docker, for me the default of nuxt is fine, so I now use:
{
"host": "localhost",
"port": 3000
}
I would have expected the documentation more clear that you need to change that file...?
Investigate potential Eslint issues between the module and create-nuxt-app. The module uses standard
and it may be worth it to switch to default create-nuxt-app Eslint configuration.
Add option to globally register Feathers-Vuex-Data component once it's officially released.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.