Merge branch 'frontend' into leaderboard-pagination
# Conflicts: # frontend/game/tsconfig.json # frontend/package-lock.json # frontend/package.json # frontend/public/index.html # frontend/src/App.vue # frontend/src/components/Game.vue # frontend/src/components/Leaderboard.vue
This commit is contained in:
commit
91fd54a97f
4 changed files with 26 additions and 5 deletions
4
frontend/.browserslistrc
Normal file
4
frontend/.browserslistrc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
> 1%
|
||||
last 2 versions
|
||||
not dead
|
||||
not ie 11
|
||||
19
frontend/.eslintrc.js
Normal file
19
frontend/.eslintrc.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
node: true
|
||||
},
|
||||
'extends': [
|
||||
'plugin:vue/vue3-essential',
|
||||
'eslint:recommended',
|
||||
'@vue/typescript/recommended'
|
||||
],
|
||||
parserOptions: {
|
||||
ecmaVersion: 2020
|
||||
},
|
||||
rules: {
|
||||
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||||
'vue/multi-word-component-names': 'off',
|
||||
}
|
||||
}
|
||||
|
|
@ -42,8 +42,6 @@ export default defineComponent({
|
|||
data() {
|
||||
return {
|
||||
userScores: {},
|
||||
highscoreLeaderboard: [],
|
||||
totalPlaytimeLeaderboard: [],
|
||||
userId: 1,
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div>
|
||||
<main></main>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<main></main>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue