https://github.com/firefox-pro-coding/wechat-chrome
Chrome style mpvue project
https://github.com/firefox-pro-coding/wechat-chrome
Last synced: 13 days ago
JSON representation
Chrome style mpvue project
- Host: GitHub
- URL: https://github.com/firefox-pro-coding/wechat-chrome
- Owner: Firefox-Pro-Coding
- License: mit
- Created: 2018-07-31T08:44:55.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-02T11:14:34.000Z (over 7 years ago)
- Last Synced: 2025-03-02T16:37:13.454Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 480 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wechat-chrome
> Chrome style mpvue project
## Build Setup
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
```
## Tracking Issues
### mpvue slot 传值问题
[#585](https://github.com/Meituan-Dianping/mpvue/issues/585)
[#427](https://github.com/Meituan-Dianping/mpvue/issues/427)
### 临时解决方案
```js
// /node_modules/mpvue-template-compiler/build.js
// line:4587
attrsMap['data'] = "{{...$root[$p], $root}}";
// 修改为
attrsMap['data'] = "{{...$root[$k], ...$root[$p], $root}}";
```
For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).