+12
-2
lines changedFilter options
+12
-2
lines changed Original file line number Diff line number Diff line change
@@ -18,6 +18,10 @@ module.exports = {
18
18
? config.build.assetsPublicPath
19
19
: config.dev.assetsPublicPath
20
20
},
21
+
externals: {
22
+
vue: 'Vue',
23
+
'element-ui':'ELEMENT'
24
+
},
21
25
resolve: {
22
26
extensions: ['.js', '.vue', '.json'],
23
27
alias: {
Original file line number Diff line number Diff line change
@@ -3,8 +3,14 @@
3
3
<head>
4
4
<meta charset="utf-8">
5
5
<title>vue-admin</title>
6
+
<!-- 引入样式 -->
7
+
<link rel="stylesheet" href="https://unpkg.com/element-ui@1.4.7/lib/theme-default/index.css">
6
8
</head>
7
9
<body>
10
+
<!-- 先引入 Vue -->
11
+
<script src="https://unpkg.com/vue@2.4.2/dist/vue.js"></script>
12
+
<!-- 引入组件库 -->
13
+
<script src="https://unpkg.com/element-ui@1.4.7/lib/index.js"></script>
8
14
<div id="app"></div>
9
15
<!-- built files will be auto injected -->
10
16
</body>
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
1
-
import Vue from 'vue'
1
+
// import Vue from 'vue'
2
2
import Vuex from 'vuex'
3
3
import app from './modules/app'
4
4
import user from './modules/user'
5
5
import getters from './getters'
6
6
7
-
Vue.use(Vuex)
7
+
// Vue.use(Vuex)
8
8
9
9
const store = new Vuex.Store({
10
10
modules: {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4