Fengming Jiang
Fengming Jiang
+1. I've pulled a request ( https://github.com/siciarek/javascript-qrcode/pull/3 )
If the user's intent is to switch the slide ( dragging and move), then after mouse up, the click event should be prevented. ```js if (isDragging && mouseMoveDistance > THRESHOLD)...
@fnlctrl I think you misunderstood my meaning, I means "Trigger router-view change without changing current URL"
@posva The point is the current URL should not change, rather than a URL like `http://www.example.com/error`. Error page should works like the 404 page, it doesn't need a visible URL....
I think we can add a `abstract` option in the route definition. If it is set to `true`, then ``, `router.push()` and `router.replace()` will not change the URL, just like...
These days I'm facing the problem again. I did what @yyx990803 suggested to switch `` and error page in `layout.vue`, that works well. But the problem is when clicking back...
@giolf Great idea!
~~那我把这个issue关了, 有问题可以开新的issue :)~~ 还是把issue开着让后人可以方便的找到相同问题吧~
[mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin),文中有提到
使用webpack 2的新功能 --env 。请参考 [打包时区分开发环境和生产环境](https://github.com/fenivana/webpack-in-action#打包时区分开发环境和生产环境) 章节。代码在 [examples/advanced](https://github.com/fenivana/webpack-in-action/tree/master/examples/advanced) 一般情况是够用的。复杂的项目可能还是要写多个配置,比如做单元测试的话可能需要专用的配置文件。