vchaptsev / cookiecutter-django-vue

Cookiecutter Django Vue is a template for Django-Vue projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vuex Login

opened this issue · comments

Hey @vchaptsev

This is honestly not your problem at all so I'm trying my luck a bit here. I can't seem to call an action using vuex via a template. Do you maybe have an example of how you do the postLogin action on a component?

If you want to see how I setup my code for the login it's here:

https://stackoverflow.com/questions/52709493/vue-js-vuex-login-vuex-unknown-action-type-postlogin

Thanks Again

Hey!
Feel free to ask any question 😄
Can you share your repo? It would be a lot easier to debug.

I will try to figure it out in the evening!

Hi @vchaptsev

Thank you so much my dude, I really appreciate it!

It's currently on bitbucket. I will make a clone of it and put it on github this evening. Will let you know once it's up :)

Kind Regards

Werner

@vchaptsev

Can I rather invite you to the bitbucket repo?

Yeah, of course :)
If you need my email: victor@chaptsev.ru

Okay cool, I sent an invite to your email. Let me know when you get it :) The login component is on branch TN-01. @vchaptsev

Wow, that was kinda hard 😄
There was an ambiguity with store file and store directory, so:

import store from '@/store'

actually imported the file (without any modules)

Ahhh! Thank you so much @vchaptsev - everything is working perfectly now. I really appreciate it. Hopefully I won't be bothering you for a while now 🥇