mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-12-17 17:41:15 +08:00
调整demo说明
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { createApp } from 'vue'
|
||||
import './style.css'
|
||||
import App from './App.vue'
|
||||
|
||||
// createApp
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#app {
|
||||
padding: 1em;
|
||||
}
|
||||
Reference in New Issue
Block a user