Skip to content
#

vuex

Here are 4,730 public repositories matching this topic...

nuxt.js
emiliobondioli
emiliobondioli commented Jul 26, 2019

What problem does this feature solve?

Example use case:
A static generated app with thousands of routes, like an e-commerce having a route for each product.
Apart from scheduling nuxt generate to run periodically and generate all static and dynamic routes, it would be nice to have the possibility to generate the static files for a single route, for example in a hook when the related ba

mystorp
mystorp commented Jul 31, 2019

使用 Mock mock 数据的时候,需要硬编码数据到代码里面

使用 easy-mock 需要外网访问

使用 http-mock-middleware 仅仅需要新增如下 devServer.after 的配置项,就可以很方便的管理假数据,也方便开发者任意的修改假数据,而不需要提交:

const httpMockMiddleware = require("hm-middleware");

module.exports = {
    devServer: {
        after: function(app, server){
            app.use(httpMockMiddleware({
      
robot7th
robot7th commented Jul 24, 2019

image

有没有谁碰到过这问题?侧边栏渲染的时候,render方法内部报错。

ERROR in ./src/layout/components/Sidebar/Item.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/layout/components/Sidebar/Item.vue?vue&type=script&lang=js&)
Module build failed (

followyouhome
followyouhome commented Feb 13, 2020

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

  • I'm submitting a ...

    • bug report
    • feature request
    • support request => Please do not submit support request here, see note at the top of this template.
  • Do you want to request a feature or report a bug?

Minor bug

strunkie30
strunkie30 commented Jun 25, 2019

Describe the bug
useConnectionNamespace isn't an option of Vuex, you can assign it only to the global option object.

Expected behavior
useConnectionNamespace is documented as global option.

Additional context
this one works:

Vue.use(new VueSocketIO({
    debug: true,
    connection: 'http://localhost:3000/overview',
    vuex: {
        store,
    },
    
mewcrazy
mewcrazy commented Dec 31, 2019

Hello,

I'm trying to delay the execution of my App until Firebase receives the Auth status before my "not logged in"-redirections take place. Afaik this is usually done with:

auth.onAuthStateChanged((user) => {
new Vue()
})

But in my current Vue setup my Vue instance get called in a total different way, which gives me a tough time.

`// we should return factory for SSR (runInNewCo

vuex-orm
mean-cj
mean-cj commented Nov 2, 2019

Hello

Feature code for auto register models on VuexORM.Database
support register with vuex module

When you would like create the vuex module
define Vuex after your model class name

Example

------- auto register modal ---------------------------
// models/Test.js

export default class Test extends Model {
  ...
}

------- Support register with vuex module --

Improve this page

Add a description, image, and links to the vuex topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the vuex topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.