@creek/studio-website-toolkit
v1.1.0
Published
Vue components and utilities for Creek Studio websites
Readme
Creek Website Toolkit
The Creek Website Toolkit is a set of Vue components for building websites for Creek Studio.
Installation
npm install @creek/studio-website-toolkitor with yarn:
yarn add @creek/studio-website-toolkitUsage
Importing Stores
import { useStudioStore, useGlobalPlayerStore, usePlusStore, useReverbStore } from '@creek/studio-website-toolkit'
const studioStore = useStudioStore()Importing Composables
import { useStudioReverb, useRealtimePlaylist, useRealtimeBroadcast } from '@creek/studio-website-toolkit'
const { ... } = useStudioReverb()Importing Components
Components can be imported directly from their paths:
import BroadcastPlayer from '@creek/studio-website-toolkit/components/players/BroadcastPlayer.vue'
import ArchivesPanel from '@creek/studio-website-toolkit/components/panels/ArchivesPanel.vue'
import ShowSchedule from '@creek/studio-website-toolkit/components/schedule/ShowSchedule.vue'Using the Plugin
import CreekStudioPlugin from '@creek/studio-website-toolkit/plugins/CreekStudioPlugin.js'
app.use(CreekStudioPlugin)Available Components
Players
BroadcastPlayer- Main broadcast/stream playerMusicPlayer- Music playback componentPodcastPlayer- Podcast player
Panels
ArchivesPanel- Browse archived broadcastsBroadcastPanel- Current broadcast informationPlaylistsPanel- Show playlistsDonatePanel- Donation interfaceShowsPanel- Shows listingChatPanel- Chat interfaceVideoPanel- Video playback
Schedule
ShowSchedule- Weekly schedule displayShowScheduleNav- Schedule navigationShowScheduleOccurrence- Individual schedule entry
Cards
BroadcastCard- Broadcast preview cardShowCard- Show preview card
Auth
CreekPlusLoginButton- Login buttonCreekPlusLoginPanel- Login formCreekPlusAccountModal- Account managementCreekPlusSubscribeModal- Subscription modal
Peer Dependencies
- Vue 3.x
- Pinia 2.x
License
MIT
