peertube
Namekuji 2023-01-11 08:34:13 -05:00
rodzic 0cc8c797e2
commit ee8ee0010e
4 zmienionych plików z 18 dodań i 2 usunięć

1
audon-fe/.gitignore vendored
Wyświetl plik

@ -13,6 +13,7 @@ dist
dist-ssr
coverage
*.local
/index.html
/cypress/videos/
/cypress/screenshots/

Wyświetl plik

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="icon" href="/src/assets/favicon.svg">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Audon</title>
<meta name="description" content="Audon: audio conversation, radio talk room for Mastodon (and Pleroma)">
</head>
<body>
<div id="app" data-version='%%VERSION%%'></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>

Wyświetl plik

@ -3,8 +3,8 @@
"version": "0.1.0-dev",
"private": true,
"scripts": {
"dev": "vite",
"build": "vite build",
"dev": "cp -v index.dev.html index.html && vite",
"build": "cp -v index.prod.html index.html && vite build",
"hash": "sh -c 'sed -i -e \"s/%%VERSION%%/git-$(git rev-parse --short HEAD)/\" dist/index.html'",
"preview": "vite preview",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"