diff --git a/db.json b/db.json new file mode 100644 index 0000000..c2335a6 --- /dev/null +++ b/db.json @@ -0,0 +1,10 @@ +{ + "users": [ + { + "id": 1, + "username": "test", + "password": "test", + "token": "123456" + } + ] +} \ No newline at end of file diff --git a/package.json b/package.json index 7432159..e21a6d7 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "eslint": "^8.57.0", "eslint-plugin-vue": "^9.23.0", "prettier": "^3.2.5", - "vite": "^5.3.1", + "vite": "5.4.6", "vite-plugin-vue-devtools": "^7.3.1" } } diff --git a/src/App.vue b/src/App.vue index 36a65c2..629d785 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,28 +1,5 @@ - -import CustomCard from '@/components/CustomCard.vue' + + \ No newline at end of file + diff --git a/src/components/CustomCard.vue b/src/components/CustomCard.vue index 5c387f5..e2dc5eb 100644 --- a/src/components/CustomCard.vue +++ b/src/components/CustomCard.vue @@ -4,16 +4,15 @@ import { CustomCard } from '@/components/CustomCard.js' const customCard = ref(new CustomCard()) +