Skip to content

Commit ac38136

Browse files
author
lijianguo
committed
chore(passport): add access token list vue
1 parent b9cd37b commit ac38136

48 files changed

Lines changed: 24601 additions & 34 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

rootfs/web/index.html

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<link rel="icon" href="/favicon.ico" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Vite App</title>
8-
</head>
9-
<body>
10-
<div id="app"></div>
11-
<script type="module" src="/src/main.js"></script>
12-
</body>
3+
<head>
4+
<meta charset="UTF-8">
5+
<link rel='stylesheet' href='/src/assets/bashboard.css'>
6+
<link rel='stylesheet' href='/src/assets/style/purple3.min.css'>
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<title>Vite App</title>
9+
</head>
10+
<style>
11+
body{
12+
padding-top: 40px;
13+
}
14+
</style>
15+
<body>
16+
<div id="app"></div>
17+
<script type="module" src="/src/main.js"></script>
18+
</body>
1319
</html>

rootfs/web/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
"serve": "vite preview"
88
},
99
"dependencies": {
10-
"vue": "^3.0.5"
10+
"vue": "^3.0.5",
11+
"axios": "^0.21.1",
12+
"vant": "^3.0.17",
13+
"vue-i18n": "^9.0.0-alpha.16",
14+
"vue-router": "^4.0.0-rc.1"
1115
},
1216
"devDependencies": {
1317
"@vitejs/plugin-vue": "^1.3.0",

rootfs/web/src/.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
VITE_APP_BASE_API=/

rootfs/web/src/App.vue

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
11
<template>
2-
<img alt="Vue logo" src="./assets/logo.png" />
3-
<HelloWorld msg="Hello Vue 3 + Vite" />
2+
<router-view/>
43
</template>
5-
6-
<script setup>
7-
import HelloWorld from './components/HelloWorld.vue'
8-
9-
// This starter template is using Vue 3 experimental <script setup> SFCs
10-
// Check out https://github.com/vuejs/rfcs/blob/master/active-rfcs/0040-script-setup.md
11-
</script>
12-
13-
<style>
14-
#app {
15-
font-family: Avenir, Helvetica, Arial, sans-serif;
16-
-webkit-font-smoothing: antialiased;
17-
-moz-osx-font-smoothing: grayscale;
18-
text-align: center;
19-
color: #2c3e50;
20-
margin-top: 60px;
21-
}
22-
</style>

0 commit comments

Comments
 (0)