vuex
Here are 4,730 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
May 26, 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
May 23, 2020 - Vue
Describe the bug (描述 Bug)
By accessing documentation in english I got error.
To Reproduce (重现步骤)
Steps to reproduce the behavior:
- Go to 'https://pro.loacg.com/docs/new-page'
- Click on 'English'
Issue / PR 编写建议 (必读)
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
Oct 29, 2019 - JavaScript
-
Updated
Nov 5, 2017 - Vue
-
Updated
May 14, 2020 - JavaScript
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
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 --
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
-
Updated
Nov 14, 2019 - Vue
-
Updated
May 27, 2020 - Python
-
Updated
May 26, 2020 - Vue
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