Open meeyoungchoi-front-dev opened 5 months ago
Import it in the file where you’ll use the component (using the corresponding technique for importing [default]
export creates a component prop
https://svelte.dev/repl/74593f36569a4c268d8a6ab277db34b5?version=3.12.1
Fruits를 출력해주는 코드를 컴포넌트로 분리하였다
컴포넌트란
컴포넌트 기반 개발의 특징
컴포넌트의 종류
https://hanamon.kr/%EC%BB%B4%ED%8F%AC%EB%84%8C%ED%8A%B8-component%EB%9E%80/