draken-player
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

draken-player

環境構築

# 依存パッケージをインストール
yarn

# コンテンツIDを設定
# src/main.tsとdemo.htmlで参照
# buildにはこの値は出力されない
cp ./.env.development{,.local}
vi ./.env.development.local # 実際に使うコンテンツIDを入力

開発環境

yarn dev

ビルド

# endpointを固定の値に埋め込みたい場合は編集する
cp ./.env.production{,.local}
vi ./.env.production.local
yarn build

デモ(ビルドした後の js で確認する場合)

yarn build:browser
vi ./demo.html # コンテンツIDやendpointなどを編集する
# yarn add global http-server
http-server
open http://localhost:8080/demo.html

Readme

Keywords

Package Sidebar

Install

npm i draken-player

Weekly Downloads

1

Version

0.4.1

License

Apache-2.0

Unpacked Size

112 kB

Total Files

54

Last publish

Collaborators

  • taichi0529