- nodejs v18+
themes
(optional): daisyui themes for ColorScheme, default is['fantasy', 'light', 'cupcake', 'dark', 'dracula', 'sunset', 'dim']
.
appTitle
(optional): App title, default isBangumi
port
(optional): devServer port, default is3000
Support ['zh-ch', 'en']
, defaults to 'zh-ch'
. Check out @nuxtjs/i18n for more details.
Make sure to install the dependencies:
# bun
bun install
Start the development server on http://localhost:3000
:
# bun
bun run dev
Build the application for production:
# bun
bun run build
Locally preview production build:
# bun
bun run preview
Check out the deployment documentation for more information.
- Set
BGMTV_AUTHORIZE
to'true'
in.env
file, default is false. - Create an app on bgm.tv.
- Copy
App ID
,APP Secret
,回调地址
from your newly created application,回调地址
should behttps://${your app baseURL}/auth/callback
- Set copied
APP ID
toBGMTV_APP_ID
in.env
file. - Set copied
APP Secret
toBGMTV_APP_SECRET
in.env
file. - Set copied
回调地址
toBGMTV_REDIRECT_URI
in.env
file. - Set
BGMTV_USERAGENT
in.env
file, more details here. - Set a 32-bit
NUXT_SESSION_SECRET
for session secret in.env
file.
checkout the documentation for more information.