fix
11
.github/workflows/gh-pages.yml
vendored
@ -9,10 +9,10 @@ jobs:
|
|||||||
build-deploy:
|
build-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 14
|
node-version: 16
|
||||||
ref: main
|
ref: main
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -23,12 +23,11 @@ jobs:
|
|||||||
TZ: "Asia/Tokyo"
|
TZ: "Asia/Tokyo"
|
||||||
run: |
|
run: |
|
||||||
yarn build
|
yarn build
|
||||||
cp -rf CNAME ./dist/
|
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./dist
|
publish_dir: ./dist
|
||||||
user_name: 'yui-syui-ai[bot]'
|
user_name: 'ai[bot]'
|
||||||
user_email: 'yui-syui-ai[bot]@users.noreply.github.com'
|
user_email: '138105980+yui-syui-ai[bot]@users.noreply.github.com'
|
||||||
|
@ -3,16 +3,16 @@
|
|||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"dev": "vue-cli-service serve",
|
||||||
"build": "vue-cli-service build",
|
"build": "vue-cli-service build",
|
||||||
"lint": "vue-cli-service lint"
|
"lint": "vue-cli-service lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^0.25.0",
|
"axios": "^1.6.8",
|
||||||
"core-js": "^3.6.4",
|
"core-js": "^3.6.4",
|
||||||
"hooper": "^0.3.4",
|
"hooper": "^0.3.4",
|
||||||
|
"moment": "^2.30.1",
|
||||||
"vue": "^2.6.11",
|
"vue": "^2.6.11",
|
||||||
"vue-loading-template": "^1.3.2",
|
|
||||||
"vue-meta": "^2.4.0",
|
"vue-meta": "^2.4.0",
|
||||||
"vue-template-compiler": "^2.6.14"
|
"vue-template-compiler": "^2.6.14"
|
||||||
},
|
},
|
||||||
|
BIN
public/icon/4hqjfn7m6n5hno3doamuhgef.jpg
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
public/icon/fmnwe2six767bnsxd7qcr55x.jpg
Normal file
After Width: | Height: | Size: 113 KiB |
BIN
public/icon/git.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
public/icon/hrrl32cdaxffmu66a4qrmpqy.jpg
Normal file
After Width: | Height: | Size: 140 KiB |
BIN
public/icon/ott5psyszgaeoksg6j7ngkvk.jpg
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
public/icon/qexgypv67x75g7bjrelr5gof.jpg
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
public/icon/qsll4h547pevri3e2233zh2a.jpg
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
public/icon/qt25nzrb3esppxyzfoxkqhme.jpg
Normal file
After Width: | Height: | Size: 207 KiB |
BIN
public/icon/uqzpqmrjnptsxezjx4xuh2mn.jpg
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
public/icon/wkzuqomvkxx5eiv5nl2lvm23.jpg
Normal file
After Width: | Height: | Size: 75 KiB |
BIN
public/icon/xecxvd2v5fgyisue7f5ik3o3.jpg
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
public/icon/ywc4pk3qhdio4vgzjabc6tfh.jpg
Normal file
After Width: | Height: | Size: 51 KiB |
@ -2,6 +2,8 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>yui | manga</title><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link href="app.css" rel="preload" as="style"><link href="app.js" rel="preload" as="script"><link href="chunk-vendors.js" rel="preload" as="script"><link href="app.css" rel="stylesheet">
|
<title>yui | manga</title><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link href="app.css" rel="preload" as="style"><link href="app.js" rel="preload" as="script"><link href="chunk-vendors.js" rel="preload" as="script"><link href="app.css" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="https://yui.syui.ai/bower_components/icomoon/css/icomoon.css" />
|
||||||
|
<link rel="stylesheet" href="https://yui.syui.ai/bower_components/font-awesome/css/all.min.css" />
|
||||||
<meta name="twitter:card" content="summary">
|
<meta name="twitter:card" content="summary">
|
||||||
<meta property="og:url" content="https://manga.syui.ai">
|
<meta property="og:url" content="https://manga.syui.ai">
|
||||||
<meta property="og:title" content="yui">
|
<meta property="og:title" content="yui">
|
||||||
@ -11,5 +13,10 @@
|
|||||||
<link rel="shortcut icon" href="/favicon.ico">
|
<link rel="shortcut icon" href="/favicon.ico">
|
||||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||||
</head>
|
</head>
|
||||||
<body><div id="app"></div><script src="chunk-vendors.js"></script><script src="app.js"></script></body>
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
<script src="chunk-vendors.js"></script>
|
||||||
|
<script src="app.js"></script>
|
||||||
|
</body>
|
||||||
|
<footer>© syui</footer>
|
||||||
</html>
|
</html>
|
||||||
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 73 KiB |
BIN
public/manga/test_2.webp
Normal file
After Width: | Height: | Size: 145 KiB |
24
scpt/icon.zsh
Executable file
@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
|
d=${0:a:h}
|
||||||
|
dd=${0:a:h:h}
|
||||||
|
icon=$dd/public/icon
|
||||||
|
|
||||||
|
echo $d
|
||||||
|
echo $dd
|
||||||
|
echo ---
|
||||||
|
api=api.syui.ai
|
||||||
|
avatar=`curl -sL $api/users/2/ma|jq -r ".[].avatar"`
|
||||||
|
n=`echo $avatar|wc -l`
|
||||||
|
for ((i=1;i<=$n;i++))
|
||||||
|
do
|
||||||
|
img=`echo $avatar|awk "NR==$i"`
|
||||||
|
did=`echo $img|cut -d / -f 7|cut -d : -f 3`
|
||||||
|
echo $i
|
||||||
|
echo $img
|
||||||
|
echo $did
|
||||||
|
f=$icon/$did.jpg
|
||||||
|
if [ ! -f $f ];then
|
||||||
|
curl -sL $img -o $icon/$did.jpg
|
||||||
|
fi
|
||||||
|
done
|
298
src/App.vue
@ -1,26 +1,100 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="app">
|
<div id="app">
|
||||||
{{ loc }}
|
|
||||||
<a :href="this.url + this.s_a"><button v-on:click="page_run(s_a)">1</button></a>
|
|
||||||
<a :href="this.url + this.s_b"><button v-on:click="page_run(s_b)">2</button></a>
|
|
||||||
<a :href="this.url + this.s_c"><button v-on:click="page_run(s_c)">3</button></a>
|
|
||||||
<a :href="this.url + this.s_d"><button v-on:click="page_run(s_d)">4</button></a>
|
|
||||||
<a :href="this.url + this.s_e"><button v-on:click="page_run(s_e)">5</button></a>
|
|
||||||
<hooper :settings="hooperSettings">
|
<hooper :settings="hooperSettings">
|
||||||
<slide v-for="(n,index) of products" :key="n">
|
<slide v-for="(n,index) of products" :key="n">
|
||||||
<img :src="url + 'manga/'+ (index) +'.webp'" />
|
<div v-if="loading" class="loading">
|
||||||
<div class="page_n">{{ n }}</div>
|
<i class="fa-solid fa-spinner fa-spin-pulse"></i>
|
||||||
|
</div>
|
||||||
|
<img :src="url + 'manga/'+ (index) +'.webp'" @load="load" />
|
||||||
|
<div class="page_n"><a href="/"><span class="icon-ai"></span></a> {{ n }}</div>
|
||||||
</slide>
|
</slide>
|
||||||
<hooper-navigation slot="hooper-addons"></hooper-navigation>
|
<hooper-navigation slot="hooper-addons"></hooper-navigation>
|
||||||
<hooper-pagination slot="hooper-addons"></hooper-pagination>
|
<hooper-pagination slot="hooper-addons"></hooper-pagination>
|
||||||
<hooper-progress slot="hooper-addons"></hooper-progress>
|
<hooper-progress slot="hooper-addons"></hooper-progress>
|
||||||
</hooper>
|
</hooper>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<div class="page">
|
||||||
|
<a :href="this.url + this.s_a"><img :src="url + 'manga/' + this.s_a + '.webp'" v-on:click="page_run(s_a)"></a>
|
||||||
|
<a :href="this.url + this.s_b"><button v-on:click="page_run(s_b)">2</button></a>
|
||||||
|
<a :href="this.url + this.s_c"><button v-on:click="page_run(s_c)">3</button></a>
|
||||||
|
<a :href="this.url + this.s_d"><button v-on:click="page_run(s_d)">4</button></a>
|
||||||
|
<a :href="this.url + this.s_e"><button v-on:click="page_run(s_e)">5</button></a>
|
||||||
|
</div>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<div class="page">
|
||||||
|
<div class="page_data">
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th scope="col">yui</th>
|
||||||
|
<th scope="col">巻</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">
|
||||||
|
<a :href="this.url + this.s_a"><img :src="url + 'manga/' + this.s_a + '.webp'" v-on:click="page_run(s_a)"></a>
|
||||||
|
</th>
|
||||||
|
<td>0.0</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">
|
||||||
|
<a :href="this.url + this.s_b"><img :src="url + 'manga/' + this.s_b + '.webp'" v-on:click="page_run(s_a)"></a>
|
||||||
|
</th>
|
||||||
|
<td>0.1</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="bsky_comment">
|
||||||
|
<span v-for="i in api_json.data" class="comment">
|
||||||
|
<p class="comment-body" v-if="i.text">
|
||||||
|
<!--
|
||||||
|
<img :src="i.avatar" v-if="i.avatar" class="comment"/> <span class="comment-time" v-if="i.handle">{{ moment(i.updated_at) }}</span> <span class="comment-handle" v-if="i.handle"><a :href="i.bsky_url">@{{ i.handle }}</a></span>
|
||||||
|
-->
|
||||||
|
<img :src="'/icon/' + i.did.replace('did:plc:', '') + '.jpg'" v-if="i.avatar" class="comment"/> <span class="comment-time" v-if="i.handle">{{ moment(i.updated_at) }}</span> <span class="comment-handle" v-if="i.handle"><a :href="i.bsky_url">@{{ i.handle }}</a></span>
|
||||||
|
<span class="comment-text">{{ i.text }}</span>
|
||||||
|
</p>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="page_title">
|
||||||
|
<div class="page_data">
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th scope="col"><span class="icon-ai"></span></th>
|
||||||
|
<th scope="col">title</th>
|
||||||
|
<th scope="col">body</th>
|
||||||
|
<th scope="col">author</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">
|
||||||
|
<a href="https://yui.syui.ai"><img src="https://syui.ai/ai.png" v-on:click="page_run(s_a)"></a>
|
||||||
|
</th>
|
||||||
|
<td>yui</td>
|
||||||
|
<td>不思議な力を持つアイのお話</td>
|
||||||
|
<td>syui</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
Hooper,
|
Hooper,
|
||||||
Slide,
|
Slide,
|
||||||
Progress as HooperProgress,
|
Progress as HooperProgress,
|
||||||
Pagination as HooperPagination,
|
Pagination as HooperPagination,
|
||||||
@ -28,14 +102,17 @@ import {
|
|||||||
} from 'hooper';
|
} from 'hooper';
|
||||||
|
|
||||||
import 'hooper/dist/hooper.css';
|
import 'hooper/dist/hooper.css';
|
||||||
var page = 107;
|
import axios from 'axios'
|
||||||
|
import moment from "moment";
|
||||||
|
|
||||||
|
var page = 21;
|
||||||
var loc = window.location.pathname.split('/').slice(-1)[0];
|
var loc = window.location.pathname.split('/').slice(-1)[0];
|
||||||
//let loc = window.location.pathname.split('/').slice(0)[3];
|
//let loc = window.location.pathname.split('/').slice(0)[3];
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'App',
|
name: 'App',
|
||||||
components: {
|
components: {
|
||||||
Hooper,
|
Hooper,
|
||||||
Slide,
|
Slide,
|
||||||
HooperProgress,
|
HooperProgress,
|
||||||
HooperPagination,
|
HooperPagination,
|
||||||
@ -43,9 +120,17 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
url: "https://manga.syui.ai/",
|
bsky_pds: "https://bsky.social/xrpc",
|
||||||
|
bsky_handle: "yui.syui.ai",
|
||||||
|
bsky_cursor: null,
|
||||||
|
bsky_cid: "",
|
||||||
|
bsky_json: null,
|
||||||
|
api_url: null,
|
||||||
|
api_json: null,
|
||||||
|
loading: true,
|
||||||
|
url: "/",
|
||||||
s_a: 0,
|
s_a: 0,
|
||||||
s_b: 17,
|
s_b: 2,
|
||||||
s_c: 41,
|
s_c: 41,
|
||||||
s_d: 51,
|
s_d: 51,
|
||||||
s_e: 60,
|
s_e: 60,
|
||||||
@ -58,21 +143,200 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
moment(date) {
|
||||||
|
return moment.utc(date).local().format("YYYY.MM.DD");
|
||||||
|
},
|
||||||
page_run(s) {
|
page_run(s) {
|
||||||
this.loc = s;
|
this.loc = s;
|
||||||
this.hooperSettings.initialSlide = s;
|
this.hooperSettings.initialSlide = s;
|
||||||
|
},
|
||||||
|
load() {
|
||||||
|
this.loading = false;
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
if (window.location.host === "localhost:8080") {
|
||||||
|
this.api_url = "/api/";
|
||||||
|
} else if (window.location.host === "192.168.11.12:8080"){
|
||||||
|
this.api_url = "/api/";
|
||||||
|
} else {
|
||||||
|
if (location.protocol !== "https:") {
|
||||||
|
location.replace("https:" + location.href.substring(location.protocol.length));
|
||||||
|
}
|
||||||
|
this.api_url = "https://api.syui.ai";
|
||||||
|
}
|
||||||
|
// com.atproto.repo.describeRepo
|
||||||
|
// com.atproto.repo.listRecords
|
||||||
|
// com.atproto.repo.getRecord
|
||||||
|
//let url = this.bsky_pds + "/com.atproto.repo.listRecords?repo=" + this.bsky_handle + "&collection=app.bsky.feed.post";
|
||||||
|
//axios
|
||||||
|
// .get(url,{ crossdomain: true })
|
||||||
|
// .then(response => (this.bsky_json = response));
|
||||||
|
let url = this.api_url + "/users/2/ma?itemsPerPage=4000";
|
||||||
|
axios
|
||||||
|
.get(url,{ crossdomain: true })
|
||||||
|
.then(response => (this.api_json = response));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.hooper{height:100%}button.hooper-indicator{background-color:#000}img{width:100%}.page_n{text-align:center;height:50px}.hooper-pagination{position:fixed}.hooper-next,.hooper-prev{background-color:rgba(184,207,224,.24)}
|
body {
|
||||||
button {
|
margin: 0px;
|
||||||
padding: 10px;
|
|
||||||
margin: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a span.icon-ai {
|
||||||
|
color: #fff700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page_n{text-align:center;height:50px}
|
||||||
|
.hooper-pagination{position:fixed}
|
||||||
|
.hooper-next,.hooper-prev{background-color:rgba(184,207,224,.24)}
|
||||||
|
.hooper-indicator{
|
||||||
|
background-color:#000;
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hooper{
|
||||||
|
height:100%;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hooper-progress {
|
||||||
|
height: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hooper-progress-inner {
|
||||||
|
background-color: #dcd500;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding: 10px;
|
||||||
|
margin: 5px;
|
||||||
|
background-color: #fff700;
|
||||||
|
color: #313131;
|
||||||
|
border: solid 2px;
|
||||||
|
}
|
||||||
|
|
||||||
ul.hooper-track {
|
ul.hooper-track {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hooper-list img {
|
||||||
|
width:500px;
|
||||||
|
border: solid 3px #313131;
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page {
|
||||||
|
text-align:center;
|
||||||
|
background-color: rgba(184, 207, 224, .24);
|
||||||
|
padding: 50px 0 50px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page a img {
|
||||||
|
border: solid 2px #313131;
|
||||||
|
width:100px;
|
||||||
|
margin: auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page_title {
|
||||||
|
text-align:center;
|
||||||
|
background-color: #313131;
|
||||||
|
padding: 100px 0 50px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page_title a img {
|
||||||
|
width:100px;
|
||||||
|
margin: auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.page_title head, td, tr, th {
|
||||||
|
padding:10px;
|
||||||
|
background: #fff;
|
||||||
|
border: solid 1px #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
text-align: center;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
thead, td, tr, th {
|
||||||
|
padding:10px;
|
||||||
|
background: #fff;
|
||||||
|
border: solid 1px #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
text-align: center;
|
||||||
|
background: #313131;
|
||||||
|
color: #fff;
|
||||||
|
padding:50px 0 30px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.loading {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 30px;
|
||||||
|
margin-top:100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.comment-time {
|
||||||
|
float: right;
|
||||||
|
padding: 0 5px 0 5px;
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.comment-handle {
|
||||||
|
padding: 0 5px 0 5px;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.comment-handle a {
|
||||||
|
color: rgb(16, 131, 254);
|
||||||
|
}
|
||||||
|
|
||||||
|
img.comment {
|
||||||
|
width:60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.comment-body {
|
||||||
|
padding: 5px 70px 5px 70px;
|
||||||
|
border-bottom: solid 1px #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.comment-text {
|
||||||
|
padding:10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.comment {
|
||||||
|
}
|
||||||
|
|
||||||
|
.bsky_comment {
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width:1000px) {
|
||||||
|
img{ width:100%; }
|
||||||
|
.page_title a img {
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
.page a img {
|
||||||
|
width:160px;
|
||||||
|
}
|
||||||
|
.hooper-list img {
|
||||||
|
border: solid 0px #fff;
|
||||||
|
margin:20px 0 0 0;
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
p.comment-body {
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -7,4 +7,3 @@ new Vue({
|
|||||||
render: h => h(App)
|
render: h => h(App)
|
||||||
}).$mount('#app')
|
}).$mount('#app')
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,12 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
|
devServer: {
|
||||||
|
proxy: {
|
||||||
|
"^/api*": {
|
||||||
|
target: "https://api.syui.ai",
|
||||||
|
pathRewrite: { "^/api": "" },
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
publicPath: "/",
|
publicPath: "/",
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
output: {
|
output: {
|
||||||
|