- nodejs v18+
themes(optional): daisyui themes for ColorScheme, default is['fantasy', 'light', 'cupcake', 'dark', 'dracula', 'sunset', 'dim'].
appTitle(optional): App title, default isBangumiport(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 installStart the development server on http://localhost:3000:
# bun
bun run devBuild the application for production:
# bun
bun run buildLocally preview production build:
# bun
bun run previewCheck out the deployment documentation for more information.
- Set
BGMTV_AUTHORIZEto'true'in.envfile, 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 IDtoBGMTV_APP_IDin.envfile. - Set copied
APP SecrettoBGMTV_APP_SECRETin.envfile. - Set copied
回调地址toBGMTV_REDIRECT_URIin.envfile. - Set
BGMTV_USERAGENTin.envfile, more details here. - Set a 32-bit
NUXT_SESSION_SECRETfor session secret in.envfile.
checkout the documentation for more information.