调整demo说明

This commit is contained in:
click33
2022-10-27 20:54:24 +08:00
parent bb3d9c6210
commit 71f0b93e26
4 changed files with 20 additions and 15 deletions

View File

@@ -2,10 +2,10 @@
<html>
<head>
<meta charset="utf-8">
<title>Sa-Token-SSO-Client端-测试页(前后端分离版)</title>
<title>Sa-Token-SSO-Client端-测试页(前后端分离版-原生h5</title>
</head>
<body>
<h2>Sa-Token SSO-Client 应用端(前后端分离版)</h2>
<h2>Sa-Token SSO-Client 应用端(前后端分离版-原生h5</h2>
<p>当前是否登录:<b class="is-login"></b></p>
<p>
<a href="javascript:location.href='sso-login.html?back=' + encodeURIComponent(location.href);">登录</a>

View File

@@ -1,7 +1,21 @@
# Vue 3 + Vite
# sa-token-demo-sso-client-vue3
Sa-Token SSO-Client 应用端(前后端分离版-Vue3
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
在线文档:[https://sa-token.cc/](https://sa-token.cc/)
## Recommended IDE Setup
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar)
## 运行
先安装依赖
``` bat
npm install --registry=https://registry.npm.taobao.org
```
运行
``` bat
npm run dev
```
打包
``` bat
npm run build
```

View File

@@ -1,5 +1,4 @@
import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
// createApp

View File

@@ -1,8 +0,0 @@
body {
margin: 0;
padding: 0;
}
#app {
padding: 1em;
}