Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions frontend/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = {
root: true,
env: {
node: true,
browser: true,
es2022: true
},
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 2022,
sourceType: 'module',
extraFileExtensions: ['.vue']
},
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript'
],
rules: {
'no-console': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'no-prototype-builtins': 'off',
'vue/multi-word-component-names': 'off'
}
}
20 changes: 0 additions & 20 deletions frontend/.eslintrc.js

This file was deleted.

7 changes: 0 additions & 7 deletions frontend/babel.config.js

This file was deleted.

18 changes: 6 additions & 12 deletions frontend/public/index.html → frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="referrer" content="no-referrer">
<link rel="shortcut icon" href="/favicon.ico">
<link href='https://fonts.loli.net/css?family=Roboto:100,300,400,500,700,900|Material+Icons' rel="stylesheet">
<link href="https://fonts.loli.net/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
<title>Roselia-Blog</title>
<style>
#re-birth-day {
Expand All @@ -21,34 +21,28 @@
background: #f0f0f0;
animation: breathe 2000ms ease-in-out infinite alternate;
}

#re-birth-day > img {
max-width: 15%;
}

#re-birth-day > p {
font-size: 24px;
color: #bbb;
margin-top: 16px;
}
@keyframes breathe {
0% {
opacity: 0;
}

100% {
opacity: 1;
}
0% { opacity: 0; }
100% { opacity: 1; }
}
</style>
</head>
<body>
<div id="black-shout">
<div id="re-birth-day">
<img src="src/assets/logo.png">
<!-- <img src="https://mohuety.com/favicon.png"> -->
<p>Roselia-Blog</p>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
97 changes: 40 additions & 57 deletions frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,68 +1,51 @@
{
"name": "roselia-blog",
"version": "3.8.5",
"version": "3.9.0",
"private": true,
"type": "module",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"dev": "vite",
"serve": "vite",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"lint": "eslint --ext .js,.ts,.tsx,.vue src"
},
"dependencies": {
"@chenfengyuan/vue-qrcode": "^1.0.0",
"axios": "^0.19.0",
"core-js": "^3.1.2",
"easymde": "^2.10.1",
"github-markdown-css": "^3.0.1",
"highlight.js": "^9.13.1",
"marked": "^1.1.0",
"material-design-icons-iconfont": "^5.0.1",
"materialize-css": "^1.0.0",
"monaco-editor": "^0.21.2",
"register-service-worker": "^1.6.2",
"@chenfengyuan/vue-qrcode": "^2.0.0",
"@fortawesome/fontawesome-free": "^6.5.2",
"@mdi/font": "^7.4.47",
"axios": "^1.7.7",
"core-js": "^3.37.1",
"easymde": "^2.18.0",
"github-markdown-css": "^5.6.1",
"highlight.js": "^11.10.0",
"marked": "^13.0.3",
"material-design-icons-iconfont": "^6.7.0",
"monaco-editor": "^0.50.0",
"nprogress": "^0.2.0",
"pinia": "^2.2.2",
"roboto-fontface": "*",
"socket.io-client": "^2.3.0",
"vue": "^2.6.10",
"vue-class-component": "^7.0.2",
"vue-easymde": "^1.2.0",
"vue-global-events": "^1.1.2",
"vue-observe-visibility": "^0.4.3",
"vue-progressbar": "^0.7.5",
"vue-property-decorator": "^8.1.0",
"vue-router": "^3.0.6",
"vue-tsx-support": "^2.2.2",
"vue-wechat-title": "^2.0.5",
"vuetify": "^2.1.7",
"vuex": "^3.0.1",
"vuex-class": "^0.3.2"
"socket.io-client": "^4.7.5",
"vue": "^3.5.11",
"vue-router": "^4.4.5",
"vuetify": "^3.7.2"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.6.3",
"@types/codemirror": "^0.0.93",
"@types/marked": "^0.7.4",
"@types/simplemde": "^1.11.7",
"@types/socket.io-client": "^1.4.32",
"@typescript-eslint/eslint-plugin": "^2.11.0",
"@typescript-eslint/parser": "^2.11.0",
"@vue/cli-plugin-babel": "^4.0.0",
"@vue/cli-plugin-eslint": "^4.0.0",
"@vue/cli-plugin-pwa": "^4.0.0",
"@vue/cli-plugin-router": "^4.0.0",
"@vue/cli-plugin-typescript": "^4.0.0",
"@vue/cli-plugin-vuex": "^4.0.0",
"@vue/cli-service": "^4.0.0",
"@vue/eslint-config-typescript": "^5.0.1",
"babel-eslint": "^10.0.1",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.0.1",
"monaco-editor-webpack-plugin": "^1.9.0",
"sass": "^1.19.0",
"sass-loader": "^8.0.0",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"typescript": "^3.9.6",
"vue-cli-plugin-vuetify": "^2.0.2",
"vue-template-compiler": "^2.6.10",
"vuetify-loader": "^1.3.0",
"webpack-bundle-analyzer": "^3.6.0"
"@types/marked": "^6.0.0",
"@types/nprogress": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@vue/eslint-config-typescript": "^13.0.0",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.28.0",
"sass": "^1.79.4",
"typescript": "~5.5.4",
"vite": "^5.4.8",
"vite-plugin-monaco-editor": "^1.1.0",
"vite-plugin-pwa": "^0.20.5",
"vite-plugin-vuetify": "^2.0.4",
"vue-tsc": "^2.1.6"
}
}
5 changes: 0 additions & 5 deletions frontend/postcss.config.js

This file was deleted.

Loading