vuex
Here are 4,939 public repositories matching this topic...
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
Version
4.0.0-beta.1
Reproduction link
https://vuex.vuejs.org/guide/getters.html
Steps to reproduce
Go to https://vuex.vuejs.org/guide/getters.html
What is expected?
An example/explanation of how to access getters from another namespaced module.
What is actually happening?
There is no explanation.
使用 Mock mock 数据的时候,需要硬编码数据到代码里面
使用 easy-mock 需要外网访问
使用 http-mock-middleware 仅仅需要新增如下 devServer.after
的配置项,就可以很方便的管理假数据,也方便开发者任意的修改假数据,而不需要提交:
const httpMockMiddleware = require("hm-middleware");
module.exports = {
devServer: {
after: function(app, server){
app.use(httpMockMiddleware({
有没有谁碰到过这问题?侧边栏渲染的时候,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 (
-
Updated
May 27, 2020 - Vue
-
Updated
Jul 6, 2020 - JavaScript
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
-
Updated
Jul 4, 2020 - Vue
Issue / PR 编写建议 (必读)
为了更好的解决你的问题, 建议在发表前, 先浏览以下内容。
issue
- 提供你的系统信息(发行版名字,版本号,浏览器等)。
- 提供你所使用的 Pro 版本。可以对比 github 上的版本列表页, 看看是否为最新版, 也许你的问题在新版本中已经修复了。
- 尽量详细描述你的问题,以及这个问题是如何出现的,最好能把 操作步骤大概说一下,以便我能重现这个问题。可以通过截图,录屏,浏览器
Console
报错等方式提交更多的信息。 - 超过 7 天未对
Contributors
的回复进行反馈的,默认将认为已解决关闭 Issue - 请使用提供的 Issue 模板格式发布
- 提问前请确认已经查找过 Vue 文档 | [Vue-Cli3](https://cli.vu
plugins: [
createPersistedState({
storage: {
getItem: key => Cookies.get(key),
// Please see https://github.com/js-cookie/js-cookie#json, on how to handle JSON.
setItem: (key, value) =>
Cookies.set(key, value, { expires: 300000, secure: true }),
removeItem: key => Cookies.remove(key)
}
})
],
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,
},
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
-
Updated
Jan 3, 2019 - HTML
-
Updated
Jun 9, 2020 - JavaScript
-
Updated
Nov 5, 2017 - Vue
-
Updated
May 14, 2020 - JavaScript
-
Updated
Jul 10, 2020 - Python
indexOf: fromIndex
I feel like indexOf
's optional second parameter: fromIndex
, is an unsung hero.
It has saved me many times from having to slice
an array before calling indexOf
.
Would you consider a PR with an example using fromIndex
?
-
Updated
May 11, 2020 - Vue
-
Updated
Jan 10, 2020 - Vue
component: pop-over
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 --
-
Updated
Nov 14, 2019 - Vue
ERROR in ./src/main.js
✘ http://eslint.org/docs/rules/ Parsing error: Unexpected token
44 | cordova.initialize()
45 | // 打开此行代码的注释可以打 cordova 的包
46 |
| ^
G:\VueDemo\vue-objccn-master\src\main.js:46:1
^
✘ 1 problem (1 error, 0 warnings)
Errors:
1 http://eslint.org/docs/rules/null
ERROR in ./src/main.js
Module build failed: SyntaxError: G:/VueDemo/v
Storybook is a popular tool for designing UI components and design systems. It should be possible to integrate Storybook with OverVue, even if simply at first.
Have you considered it?
Thanks!
Improve this page
Add a description, image, and links to the vuex topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the vuex topic, visit your repo's landing page and select "manage topics."
在inline-edit-table.vue里边设置自定义的指令 v-el-height-adaptive-table="{bottomOffset: 30}"报错:Failed to resolve directive: el-height-adap