Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnWeeks1 committed Mar 31, 2023
1 parent 3470c14 commit 454f7b1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Come and check out my YOUTUBE channel for lots more tutorials -> https://www.you

## NOTE

### For this Tiktok Clone to work you'll need the API/Backend:
### For this Linktree Clone to work you'll need the API/Backend:

Linktree Clone API: https://github.com/John-Weeks-Dev/linktree-clone-api

Expand Down
5 changes: 1 addition & 4 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ export default defineNuxtConfig({
experimental: {
payloadExtraction: false
},
css: [
'~/assets/css/main.css',
'animate.css/animate.min.css',
],
css: ['~/assets/css/main.css'],
postcss: {
plugins: {
tailwindcss: {},
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
},
"dependencies": {
"@pinia/nuxt": "^0.4.7",
"animate.css": "^4.1.1",
"axios": "^1.3.4",
"lodash": "^4.17.21",
"pinia": "^2.0.33",
Expand Down
8 changes: 3 additions & 5 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,9 @@ const login = async () => {
try {
await userStore.getTokens()
await userStore.login(email.value, password.value)
setTimeout(async () => {
await userStore.getUser()
await userStore.getAllLinks()
router.push('/admin')
}, 1000)
await userStore.getUser()
await userStore.getAllLinks()
router.push('/admin')
} catch (error) {
console.log(error)
errors.value = error.response.data.errors
Expand Down

0 comments on commit 454f7b1

Please sign in to comment.