live-doc
๐ซ Convert markdown to live React demos
ํ์ผ ํ์๊ธฐ
์ต์ข ๋ฒ์ ๋ค์ด๋ก๋ (.zip)- live-doc.js
- config.js
- index.html
- App.js
- colors.js
- config.js
- entry.js
- html.js
- index.js
- Live.js
- theme.js
- .babelrc
- .gitignore
- .npmignore
- index.js
- package.json
- README.md
- temp.md
- test.js
# ์ค์น ๊ฐ์ด๋
1. ์ฝ๋ ๋ด๋ ค๋ฐ๊ธฐ
git clone https://github.com/jxnblk/live-doc
๊นํ๋ธ์์ ํ๋ก์ ํธ ์ฝ๋ ์ ์ฒด๋ฅผ ๋ด ์ปดํจํฐ๋ก ๋ด๋ ค๋ฐ์ต๋๋ค.
cd live-doc
๋ฐฉ๊ธ ๋ด๋ ค๋ฐ์ ํ๋ก์ ํธ ํด๋ ์์ผ๋ก ์ด๋ํฉ๋๋ค.
2. ๊ณต์ ์ค์น ์คํฌ๋ฆฝํธ
์ฌ์ ์ถ์ฒ์ฌ์ ์ค๋น๋ฌผ
- Node.js npm ๋ช ๋ น์ด๋ฅผ ์ฐ๋ ค๋ฉด Node.js๊ฐ ์ค์น๋์ด ์์ด์ผ ํฉ๋๋ค.
npm i -g live-doc
npm ๋ ์ง์คํธ๋ฆฌ์ ๋ฐฐํฌ๋ ํจํค์ง๋ฅผ ์ ์ญ์ผ๋ก ์ค์นํฉ๋๋ค. ์์ค ํด๋ก ์ด ํ์ ์์ต๋๋ค.
์ค์น ํ ์ ํฐ๋ฏธ๋์ ์ด๊ณ , ํ๋ก๊ทธ๋จ์ ๋ฒ์ ํ์ธ ๋ช
๋ น(์: --version)์ผ๋ก ์ ์ ์ค์น๋๋์ง ํ์ธํ์ธ์.
์ด ๋ ํฌ์ README์ ์ ํ ์ค์ ๋ช ๋ น์ด๋ฅผ ๊ทธ๋๋ก ๊ฐ์ ธ์์ต๋๋ค.
3. Node.js
์ฌ์์ฌ์ ์ค๋น๋ฌผ
npm i -g live-doc
npm ๋ ์ง์คํธ๋ฆฌ์ ๋ฐฐํฌ๋ ํจํค์ง๋ฅผ ์ ์ญ์ผ๋ก ์ค์นํฉ๋๋ค. ์์ค ํด๋ก ์ด ํ์ ์์ต๋๋ค.
๋ช
๋ น์ด ์คํ ํ ํฐ๋ฏธ๋์ ๋ํ๋๋ ์ฃผ์(๋ณดํต http://localhost:3000 ํํ)๋ฅผ ๋ธ๋ผ์ฐ์ ์์ ์ด์ด๋ณด์ธ์.
์ด ๋ ํฌ์ README์ ์ ํ ์ค์ ๋ช ๋ น์ด๋ฅผ ๊ทธ๋๋ก ๊ฐ์ ธ์์ต๋๋ค.
// repository documentation
Was this content helpful?
(0 ratings)
