JSPM

happytalk-sdk-loader

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q23865F
  • License Apache-2.0

모던 웹 프레임워크를 위한 비공식 (Unofficial) 해피톡 채팅 SDK 로더

Package Exports

  • happytalk-sdk-loader
  • happytalk-sdk-loader/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (happytalk-sdk-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Welcome to happytalk-sdk-loader 👋

NPM Version Documentation License: Apache--2.0

모던 웹 프레임워크를 위한 비공식 (Unofficial) 해피톡 채팅 SDK 로더

설치

# npm이나 yarn도 사용 가능
pnpm add happytalk-sdk-loader

사용 예시 (React)

// components/Happytalk.tsx
'use client';

import {useEffect} from 'react';
import * as HappytalkService from 'happytalk-sdk-loader';

export default function Happytalk() {
  useEffect(() => {
    HappytalkService.boot({
      siteId: '',
      siteName: '',

      categoryId: '',
      divisionId: '',

      dynamicScript: true,
    });
  }, []);

  return null;
}

// Happytalk 컴포넌트를 layout.tsx (Next.js) / main.tsx (React) 에서 렌더

주의 사항

  1. 이 라이브러리는 클라이언트 측에서만 이용할 수 있습니다. SSR 등에서는 이용이 불가능 합니다. ("use client" 등 이용 필요)

개발자

👤 Minsu Kim

API 문서

라이센스

This project is Apache--2.0 licensed.


This README was generated with ❤️ by readme-md-generator