├── px-wechat-app ├── static │ ├── .gitkeep │ └── weui │ │ └── weui.css ├── config │ ├── prod.env.js │ ├── dev.env.js │ └── index.js ├── src │ ├── pages │ │ ├── index │ │ │ ├── main.js │ │ │ └── index.vue │ │ └── test │ │ │ ├── main.js │ │ │ └── index.vue │ ├── css │ │ ├── button.css │ │ └── app.css │ ├── components │ │ └── card.vue │ ├── utils │ │ ├── apiUtil.js │ │ ├── index.js │ │ └── httpUtil.js │ ├── App.vue │ └── main.js ├── .postcssrc.js ├── .editorconfig ├── .gitignore ├── index.html ├── build │ ├── dev-client.js │ ├── vue-loader.conf.js │ ├── build.js │ ├── check-versions.js │ ├── utils.js │ ├── webpack.base.conf.js │ ├── dev-server.js │ ├── webpack.dev.conf.js │ └── webpack.prod.conf.js ├── .babelrc ├── README.md ├── project.config.json └── package.json └── .DS_Store /px-wechat-app/static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/doinbean/mpvue-demo/HEAD/.DS_Store -------------------------------------------------------------------------------- /px-wechat-app/config/prod.env.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | NODE_ENV: '"production"' 3 | } 4 | -------------------------------------------------------------------------------- /px-wechat-app/src/pages/index/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './index' 3 | 4 | const app = new Vue(App) 5 | app.$mount() 6 | -------------------------------------------------------------------------------- /px-wechat-app/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | "postcss-mpvue-wxss": {} 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /px-wechat-app/config/dev.env.js: -------------------------------------------------------------------------------- 1 | var merge = require('webpack-merge') 2 | var prodEnv = require('./prod.env') 3 | 4 | module.exports = merge(prodEnv, { 5 | NODE_ENV: '"development"' 6 | }) 7 | -------------------------------------------------------------------------------- /px-wechat-app/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /px-wechat-app/src/css/button.css: -------------------------------------------------------------------------------- 1 | .button-sp-area{ 2 | margin: 0 auto; 3 | padding-top: 15px; 4 | width: 60%; 5 | } 6 | .mini-btn{ 7 | width: auto !important; 8 | margin-right: 5px !important; 9 | } 10 | -------------------------------------------------------------------------------- /px-wechat-app/src/pages/test/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './index' 3 | 4 | const app = new Vue(App) 5 | app.$mount() 6 | 7 | export default { 8 | config: { 9 | navigationBarTitleText: '查看启动日志' 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /px-wechat-app/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Editor directories and files 9 | .idea 10 | *.suo 11 | *.ntvs* 12 | *.njsproj 13 | *.sln 14 | *.package-lock.json 15 | -------------------------------------------------------------------------------- /px-wechat-app/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |4 | {{text}} 5 |
6 |