diff --git a/README.md b/README.md index 5ab4019..2399d89 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,28 @@ # Video Platform +- 模仿 Youtube 網站影音平台的作品,支援 RWD +- [Dome Page](https://video-platform.netlify.app) +- [Storybook Page](https://video-platform.netlify.app/_storybook) +- [Design WireFrame](https://whimsical.com/wireframe-M17zBx8n7wSd2vDqi9yCXU) + +## Tech Stack +- Nuxt.js v2 +- Tailwind CSS v2 +- Storybook +- Youtube Data API ([Document](https://developers.google.com/youtube/v3/docs)) +- Analysis Tool - GA tag, Hotjar, Sentry +- Deploy on Netlify + +## Start Development +create a '.env' files for environment variable, default content: +``` +NUXT_ENV_PUBLIC_PATH = / +NUXT_ENV_YOUTUBE_KEY = +NUXT_ENV_GOOGLE_ANALYTICS_ID = +NUXT_ENV_HOTJAR_ID = + +SENTRY_DSN = +SENTRY_DISABLED = false +``` ## Build Setup @@ -15,4 +39,12 @@ $ npm run start # generate static project $ npm run generate + +# storybook +$ npm run storybook +$ npm run build-storybook ``` + +## Next step +- [ ] research Vercel, then use server side render for this project. +- [ ] hidden header-bar when trigger window scroll event diff --git a/components/FavoriteCard.vue b/components/FavoriteCard.vue index 433a8c9..d8f2f1a 100644 --- a/components/FavoriteCard.vue +++ b/components/FavoriteCard.vue @@ -1,6 +1,6 @@