Baozhangchao 3 лет назад
Сommit
b526dd2e41
12 измененных файлов: 20371 добавлений и 0 удалений
  1. 23
    0
      .gitignore
  2. 24
    0
      README.md
  3. 5
    0
      babel.config.js
  4. 11625
    0
      package-lock.json
  5. 43
    0
      package.json
  6. Двоичные данные
      public/favicon.ico
  7. 17
    0
      public/index.html
  8. 27
    0
      src/App.vue
  9. Двоичные данные
      src/assets/logo.png
  10. 16
    0
      src/components/index.vue
  11. 8
    0
      src/main.js
  12. 8583
    0
      yarn.lock

+ 23
- 0
.gitignore Просмотреть файл

@@ -0,0 +1,23 @@
1
+.DS_Store
2
+node_modules
3
+/dist
4
+
5
+
6
+# local env files
7
+.env.local
8
+.env.*.local
9
+
10
+# Log files
11
+npm-debug.log*
12
+yarn-debug.log*
13
+yarn-error.log*
14
+pnpm-debug.log*
15
+
16
+# Editor directories and files
17
+.idea
18
+.vscode
19
+*.suo
20
+*.ntvs*
21
+*.njsproj
22
+*.sln
23
+*.sw?

+ 24
- 0
README.md Просмотреть файл

@@ -0,0 +1,24 @@
1
+# dianwang-jiaopei
2
+
3
+## Project setup
4
+```
5
+yarn install
6
+```
7
+
8
+### Compiles and hot-reloads for development
9
+```
10
+yarn serve
11
+```
12
+
13
+### Compiles and minifies for production
14
+```
15
+yarn build
16
+```
17
+
18
+### Lints and fixes files
19
+```
20
+yarn lint
21
+```
22
+
23
+### Customize configuration
24
+See [Configuration Reference](https://cli.vuejs.org/config/).

+ 5
- 0
babel.config.js Просмотреть файл

@@ -0,0 +1,5 @@
1
+module.exports = {
2
+  presets: [
3
+    '@vue/cli-plugin-babel/preset'
4
+  ]
5
+}

+ 11625
- 0
package-lock.json
Разница между файлами не показана из-за своего большого размера
Просмотреть файл


+ 43
- 0
package.json Просмотреть файл

@@ -0,0 +1,43 @@
1
+{
2
+  "name": "dianwang-jiaopei",
3
+  "version": "0.1.0",
4
+  "private": true,
5
+  "scripts": {
6
+    "start": "vue-cli-service serve",
7
+    "build": "vue-cli-service build",
8
+    "lint": "vue-cli-service lint"
9
+  },
10
+  "dependencies": {
11
+    "core-js": "^3.6.5",
12
+    "vant": "^2.12.44",
13
+    "vue": "^2.6.11"
14
+  },
15
+  "devDependencies": {
16
+    "@vue/cli-plugin-babel": "~4.5.0",
17
+    "@vue/cli-plugin-eslint": "~4.5.0",
18
+    "@vue/cli-service": "~4.5.0",
19
+    "babel-eslint": "^10.1.0",
20
+    "eslint": "^6.7.2",
21
+    "eslint-plugin-vue": "^6.2.2",
22
+    "vue-template-compiler": "^2.6.11"
23
+  },
24
+  "eslintConfig": {
25
+    "root": true,
26
+    "env": {
27
+      "node": true
28
+    },
29
+    "extends": [
30
+      "plugin:vue/essential",
31
+      "eslint:recommended"
32
+    ],
33
+    "parserOptions": {
34
+      "parser": "babel-eslint"
35
+    },
36
+    "rules": {}
37
+  },
38
+  "browserslist": [
39
+    "> 1%",
40
+    "last 2 versions",
41
+    "not dead"
42
+  ]
43
+}

Двоичные данные
public/favicon.ico Просмотреть файл


+ 17
- 0
public/index.html Просмотреть файл

@@ -0,0 +1,17 @@
1
+<!DOCTYPE html>
2
+<html lang="">
3
+  <head>
4
+    <meta charset="utf-8">
5
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+    <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
+    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
8
+    <title><%= htmlWebpackPlugin.options.title %></title>
9
+  </head>
10
+  <body>
11
+    <noscript>
12
+      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
13
+    </noscript>
14
+    <div id="app"></div>
15
+    <!-- built files will be auto injected -->
16
+  </body>
17
+</html>

+ 27
- 0
src/App.vue Просмотреть файл

@@ -0,0 +1,27 @@
1
+<template>
2
+  <div id="app">
3
+    <index msg="Welcome to Your Vue.js App" />
4
+  </div>
5
+</template>
6
+
7
+<script>
8
+import index from './components/index.vue'
9
+
10
+export default {
11
+  name: 'App',
12
+  components: {
13
+    index
14
+  }
15
+}
16
+</script>
17
+
18
+<style>
19
+#app {
20
+  font-family: Avenir, Helvetica, Arial, sans-serif;
21
+  -webkit-font-smoothing: antialiased;
22
+  -moz-osx-font-smoothing: grayscale;
23
+  text-align: center;
24
+  color: #2c3e50;
25
+  margin-top: 60px;
26
+}
27
+</style>

Двоичные данные
src/assets/logo.png Просмотреть файл


+ 16
- 0
src/components/index.vue Просмотреть файл

@@ -0,0 +1,16 @@
1
+<template>
2
+  <h1>asdasdas</h1>
3
+</template>
4
+
5
+<script>
6
+export default {}
7
+</script>
8
+
9
+<style>
10
+html,
11
+body,
12
+#app {
13
+  margin: 0;
14
+  height: 100%;
15
+}
16
+</style>

+ 8
- 0
src/main.js Просмотреть файл

@@ -0,0 +1,8 @@
1
+import Vue from 'vue'
2
+import App from './App.vue'
3
+
4
+Vue.config.productionTip = false
5
+
6
+new Vue({
7
+  render: h => h(App),
8
+}).$mount('#app')

+ 8583
- 0
yarn.lock
Разница между файлами не показана из-за своего большого размера
Просмотреть файл