-
列表页和详情页都有缓存数据,但是缓存的数据变了呢,比如说在列表点赞收藏后,个数就变了,然后进入到详情,在返回列表,怎么更新列表数据?
这个demo,怎么登陆呢 token是啥?(想测下评论后数据变化,怎么处理的)
顺便说下,楼主有换工作打算吗,tencent欢迎你
-
官方的 Webpack 模板是:https://github.com/vuejs-templates/webpack
master 分支我直接替换为这个编译,list 页面 CSS 刷新后失效。
-
https://github.com/shinygang/Vue-cnodejs/blob/master/src/main.js#L28 这里多余了,只需要attach一次到 body 就够了
hanai updated
8 years ago
-
在看cnodejs-vue中 看到了这种写法
`export const getLoginUser = (state) => state.loginUser;`
`export const changeUser = ({ dispatch }, info) => dispatch('CHANGE_USER', info);`
其中在export时 为什么先等于一个括号包含的值之后再指向export…
-
verbose pkgid Vue-Cnodejs@1.0.0
16 verbose cwd C:\lab\cnnode\Vue-cnodejs
17 error Windows_NT 6.1.7601
18 error argv "C:\Program Files\nodejs\node.exe" "C:\Users\zhanghao\AppData\Roaming\npm\node_modu…
-
克隆好了项目,npm install 安装第三方模块
node server.js 准备启动项目,报错信息如下:
```
➜ Vue-cnodejs git:(master) ✗ node server.js
module.js:327
throw err;
^
Error: Cannot find module 'memory-fs'
at Function.Mod…
-
module.js:341
throw err;
^
Error: Cannot find module 'process-nextick-args'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at M…
gggso updated
8 years ago
-
ERROR in ./src/main.js
Module build failed: ReferenceError: [BABEL] /Users/ethan/node/Vue-cnodejs/src/main.js: Using removed Babel 5 option: /Users/ethan/node/.babelrc.stage - Check out the correspond…
-
npm install之后启动不行,提示source-map没有,安装完source-map,提示soure-list,
-
需求:Markdown渲染完成之后,要对Markdown中的img绑定单击事件,实现点击图片查看大图的功能。
目前的实现为:
视图基于Vue.js,Markdown渲染直接使用模板:参考 https://github.com/TakWolf/CNodeMD-Page-Render-Compat/blob/master/topic_light.html#L43
```
{{{…