0.0.3 • Published 2 years ago
@suspack-item/item v0.0.3
@suspack-item/item
This is a sample project for suspack.
package
2 가지 방식으로 제공
- npm package - @suspack-item/item
- dist 디렉토리 - 복사해서 쓰세요.
- index.mjs
- style.css
config
특정 config 를 사용하고 싶다면, 아래와 같이 설정하세요.
%%CONFIG%%
문자열 그대로 JSON string 으로 치환해줍니다.
content = content.replace('%%CONFIG%%', JSON.stringify(config))
Properties
Name | Type | Default | Description |
---|---|---|---|
title | string | 'Hello World' | |
description | string | 'This is a sample project for suspack.' | |
color | string | 'red' | |
backgroundColor | string | 'white' | |
border | string | '1px solid red' |