Skip to content

Commit

Permalink
[bluefox]adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
luo0412 committed Sep 29, 2018
1 parent 683d898 commit 13fce7f
Show file tree
Hide file tree
Showing 168 changed files with 373 additions and 1,254 deletions.

This file was deleted.

This file was deleted.

12 changes: 6 additions & 6 deletions webpack3-vue-elementui-vux-bluefox-mpa/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# README

- 这个小项目主要是攒Vue组件李练习用的
- 这个多页面方案是以一级目录下JS算入口的,旁边另一个mpa小项目是以pug|html算入口的
- hash后缀形式处理缓存,不是通过修改文件名
- 攒Vue组件
- 多页面是以一级目录下的*.js算入口的
- 另一个项目以pug|html算入口
- 缓存: ?hash后缀, 不是文件名里加hash
- vux原作者的项目在 _vux 下
- 移除了原作者说的二级目录支持,看着烦
- 配了postcss-px2rem插件 vue视图文件里的px会被转化成rem 谨慎,小心被坑!!!
- 配了postcss-px2rem插件 仅vue视图文件里的px会被转化成rem 谨慎,小心被坑!!!

# 遇到的问题

Expand Down Expand Up @@ -45,12 +47,10 @@
//实例初始化最之前,无法获取到data里的数据
beforeCreate() {
},
//在挂载开始之前被调用
beforeMount() {
},
//已成功挂载,相当ready()
mounted() {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
dev: {
indexPage: '/_vux/list.html',
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ var entries = utils.getMultiEntry('./src/' + config.moduleName + '/*.js'); //
var chunks = Object.keys(entries);

// 输出路径
console.log('检测到以下页面:')
console.log(chunks)

// 工程文件根目录调整
Expand Down
5 changes: 2 additions & 3 deletions webpack3-vue-elementui-vux-bluefox-mpa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@
"install:cnpm": "cnpm install",
"remove": "rimraf node_modules",

"dev:firefly": "cross-env SYS_NAME=firefly node build/dev-server.js",
"build:firefly": "cross-env SYS_NAME=firefly node build/build.js",
"dev:melt": "cross-env SYS_NAME=melt node build/dev-server.js",
"build:melt": "cross-env SYS_NAME=melt node build/build.js",

"dev:vux": "cross-env SYS_NAME=vux node build/dev-server.js",
"build:vux": "cross-env SYS_NAME=vux node build/build.js",


"unit": "cross-env BABEL_ENV=test SYS_NAME=topping karma start test/unit/karma.conf.js --single-run",
"e2e": "cross-env SYS_NAME=topping node test/e2e/runner.js",
"test": "npm run unit && npm run e2e"
Expand Down
40 changes: 0 additions & 40 deletions webpack3-vue-elementui-vux-bluefox-mpa/src/_exam/App.vue

This file was deleted.

27 changes: 0 additions & 27 deletions webpack3-vue-elementui-vux-bluefox-mpa/src/_exam/api/_auth.js

This file was deleted.

65 changes: 0 additions & 65 deletions webpack3-vue-elementui-vux-bluefox-mpa/src/_exam/api/_request.js

This file was deleted.

27 changes: 0 additions & 27 deletions webpack3-vue-elementui-vux-bluefox-mpa/src/_exam/api/login.js

This file was deleted.

9 changes: 0 additions & 9 deletions webpack3-vue-elementui-vux-bluefox-mpa/src/_exam/api/table.js

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 13fce7f

Please sign in to comment.