7fa943eb
梁灏
init
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
webpackJsonp([0],[
/* 0 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
var _vue = __webpack_require__(1);
var _vue2 = _interopRequireDefault(_vue);
var _vueRouter = __webpack_require__(3);
var _vueRouter2 = _interopRequireDefault(_vueRouter);
var _app = __webpack_require__(4);
var _app2 = _interopRequireDefault(_app);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
_vue2.default.use(_vueRouter2.default);
// 开启debug模式
/**
* Created by aresn on 16/6/20.
*/
_vue2.default.config.debug = true;
// 路由配置
var router = new _vueRouter2.default({
history: true
});
router.map({
'/index': {
component: function component(resolve) {
__webpack_require__.e/* require */(1, function(__webpack_require__) { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(8)]; (resolve.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}.bind(this));
}
},
'/button': {
component: function component(resolve) {
__webpack_require__.e/* require */(2, function(__webpack_require__) { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(12)]; (resolve.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}.bind(this));
}
},
'/page': {
component: function component(resolve) {
__webpack_require__.e/* require */(3, function(__webpack_require__) { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(137)]; (resolve.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}.bind(this));
}
},
'/more': {
component: function component(resolve) {
__webpack_require__.e/* require */(4, function(__webpack_require__) { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(141)]; (resolve.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}.bind(this));
}
},
'/layout': {
component: function component(resolve) {
__webpack_require__.e/* require */(5, function(__webpack_require__) { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(145)]; (resolve.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}.bind(this));
}
},
'/radio': {
component: function component(resolve) {
__webpack_require__.e/* require */(6, function(__webpack_require__) { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(148)]; (resolve.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__));}.bind(this));
}
}
});
router.beforeEach(function () {
window.scrollTo(0, 0);
});
router.afterEach(function (transition) {});
router.redirect({
'*': "/index"
});
router.start(_app2.default, '#app');
/***/ },
/* 1 */,
/* 2 */,
/* 3 */,
/* 4 */
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(5)
__vue_script__ = __webpack_require__(6)
if (__vue_script__ &&
__vue_script__.__esModule &&
Object.keys(__vue_script__).length > 1) {
console.warn("[vue-loader] local/components/app.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(7)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
}
if (false) {(function () { module.hot.accept()
var hotAPI = require("vue-hot-reload-api")
hotAPI.install(require("vue"), false)
if (!hotAPI.compatible) return
var id = "_v-0afa8397/app.vue"
if (!module.hot.data) {
hotAPI.createRecord(id, module.exports)
} else {
hotAPI.update(id, module.exports, __vue_template__)
}
})()}
/***/ },
/* 5 */
/***/ function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ },
/* 6 */
/***/ function(module, exports) {
"use strict";
// <style lang="less">
// @import "../../styles/index.less";
// @import "../../styles/package.less";
// </style>
// <template>
// <div>
// <router-view></router-view>
// </div>
// </template>
// <script>
module.exports = {
data: function data() {
return {};
},
ready: function ready() {},
beforeDestroy: function beforeDestroy() {},
methods: {}
};
// </script>
/***/ },
/* 7 */
/***/ function(module, exports) {
module.exports = "\n\n\n\n\n<div>\n <router-view></router-view>\n</div>\n";
/***/ }
]);
|