From c7b7bc51266ce91892a887ded920d52545d62ca9 Mon Sep 17 00:00:00 2001 From: lee Date: Mon, 15 Jul 2024 16:55:09 +0900 Subject: [PATCH] =?UTF-8?q?popup=20=EC=84=A4=EC=A0=95=20=EC=84=A4=EB=AA=85?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/entryjs/api/2024-04-24-ml.md | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/source/entryjs/api/2024-04-24-ml.md b/source/entryjs/api/2024-04-24-ml.md index 38397fba..562e2edc 100644 --- a/source/entryjs/api/2024-04-24-ml.md +++ b/source/entryjs/api/2024-04-24-ml.md @@ -213,6 +213,49 @@ entrylabs/ml은 사용자가 원하는 학습모을 선택하고 학습하는 사용자들이 인공지능 모델을 학습하는 UI를 팝업형태로 생성합니다. entry-tool을 활용한 팝업과 유사합니다. +#### Vanilla JS +```js + + + + + + + EntryJS Base Example + + + + +
+ + + + +``` +#### next.js +[webpack externals](https://webpack.kr/configuration/externals/#externals). 설정을 이용하여 아래와 같이 사용 가능합니다. + +webpack 설정. +```js +config.externals = [ + { + '@entrylabs/tool': 'EntryTool', + '@entrylabs/tool/component': 'EntryTool.Component', + '@entrylabs/ml': 'Entryml', + }, +]; +``` ```js const learningPopup = {};