Vladimir Golub

Results 13 comments of Vladimir Golub

``` beforeEach(() => { const user = { name: 'Jack', type: 'admin' }; app.post( '/', [ (req, res, next) => { req.user = user; next(); }, authenticateAdmin ], (req, res)...

Why it doesn't work ? ``` export const actions = { async getLocales({commit}) { const { locales } = await this.$axios.$get('/api/getlocales'); if (locales) { commit('setLocales', locales); } } }; ```...

My solution: ``` import {actions} from './../store/index'; import axios from 'axios'; import { Server } from "miragejs" axios.$get = async (url) => { const result = await axios.get(url); return result.data;...

With commit: https://github.com/golubvladimir/nuxt-vuex-jest

I have the same problem.

I have this problem only on Windows.

@theKashey The markup in the wrapper does not appear when the page loads (SSR load). Only after switching between pages. My decision, but not very good. ``` isThisServer() ? :...

@theKashey This does not work. Component ``` ``` Client ``` ; ``` Server ``` ; ```

What about my path for fix this problem - https://github.com/golubvladimir/nuxt-i18n-different-domains-and-prefixes , I use https://github.com/nuxt-community/router-module for creating custom Nuxt router.