Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
upgrade to latest nuxt3
Browse files Browse the repository at this point in the history
  • Loading branch information
NextFire committed Aug 2, 2023
1 parent ec1dc05 commit 595ce17
Show file tree
Hide file tree
Showing 22 changed files with 10,213 additions and 13,560 deletions.
22 changes: 18 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
node_modules
*.log*
# Nuxt dev/build outputs
.output
.nuxt
.nitro
.cache
.output
.env
dist

# Node dependencies
node_modules

# Logs
logs
*.log

# Misc
.DS_Store
.fleet
.idea

# Local env files
.env
.env.*
!.env.example
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
shamefully-hoist=true
strict-peer-dependencies=false
9 changes: 5 additions & 4 deletions components/player/PlayerDisplay.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script setup lang="ts">
import { millisToMinutesAndSeconds } from "~~/lib/utils";
const showTime = ref(false);
const { spotifyApi } = useSpotifyApi();
Expand All @@ -25,9 +23,12 @@ const progressPercent = computed(() => {
class="flex-1 grid grid-rows-[auto_4px] grid-flow-row relative"
>
<div class="grid grid-rows-2 text-center m-2 text-xs">
<span class="truncate self-end">
<NuxtLink
:to="`/album/${state.item?.album.id}#${state.item?.id}`"
class="truncate self-end"
>
{{ state.item?.name }}
</span>
</NuxtLink>
<span class="truncate self-start">
<span>
{{ state.item?.artists.map((a) => a.name).join(", ") }}
Expand Down
9 changes: 4 additions & 5 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { defineNuxtConfig } from "nuxt";

// https://v3.nuxtjs.org/api/configuration/nuxt.config
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ["@nuxtjs/tailwindcss", "@vueuse/nuxt"],
ssr: false
devtools: { enabled: true },
ssr: false,
modules: ["@nuxtjs/tailwindcss", "@vueuse/nuxt"]
});
Loading

1 comment on commit 595ce17

@vercel
Copy link

@vercel vercel bot commented on 595ce17 Aug 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ongaku – ./

ongaku-nextfire.vercel.app
ongaku-git-main-nextfire.vercel.app

Please sign in to comment.