Skip to content

๐Ÿ‡ฐ๐Ÿ‡ท Nitron.js ๋Œ€ํ•œ๋ฏผ๊ตญ ์›น ๋ฌธ์„œ

License

Notifications You must be signed in to change notification settings

WADE-OSS/ko.nitronjs.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Nitron.js ํ•œ๊ตญ์–ด ๋ฌธ์„œ

์œ ์ € ์ธํ„ฐํŽ˜์ด์Šค ๊ตฌ์„ฑ์„ ์œ„ํ•œ ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ ํ”„๋ ˆ์ž„์›Œํฌ

์™œ Nitron์„ ์‚ฌ์šฉํ•ด์•ผํ•˜๋‚˜์š”?

  • ๋„“์€ ํ™•์žฅ์„ฑ : ๋‚ด๊ฐ€ ๋งŒ๋“  ์ปดํฌ๋„ŒํŠธ๋ฅผ ๋ฐฐํฌํ•˜๊ฑฐ๋‚˜, ๋‹ค๋ฅธ ์ปดํฌ๋„ŒํŠธ๋ฅผ ๊ฐ€์ ธ์™€์„œ ์ ์šฉํ•˜๋Š” ๋“ฑ ๋„“์€ ํ™•์žฅ์„ฑ๋ฅผ ๊ฐ€์ ธ์š”.
  • ์‚ฌ์šฉ์„ฑ : HTML, CSS, JavaScript๋ฅผ ๋ฐฐ์šฐ์…จ๋‹ค๋ฉด ์‰ฝ๊ฒŒ ์‹œ์ž‘ํ•˜์‹ค ์ˆ˜ ์žˆ์–ด์š”.
  • ์ปดํฌ๋„ŒํŠธ ๊ธฐ๋ฐ˜ : ๋ฐ˜๋ณต์ ์œผ๋กœ ์‚ฌ์šฉํ•˜๋Š” ์ฝ”๋“œ๋Š” ์ปดํฌ๋„ŒํŠธ(์บก์Š)์— ๋„ฃ๊ณ  <Component />์™€ ๊ฐ™์ด ์ถ•์•ฝํ•˜๊ฑฐ๋‚˜, ์†์„ฑ์„ ์ถ”๊ฐ€ํ•˜์—ฌ ์ƒ์„ฑํ•œ ์ปดํฌ๋„ŒํŠธ ๋‚ด๋ถ€ ๊ธ€์”จ์™€ ๊ฐ™์€๊ฒƒ์„ ์‰ฝ๊ฒŒ ์กฐ์ž‘ํ•  ์ˆ˜ ์žˆ์–ด์š”.

์˜ˆ์‹œ ์ฝ”๋“œ

index.html

<!DOCTYPE html>
<html>
<head>
    <title>Nitron App</title>
</head>
<body>
    <div id="root"></div>
    <script src="./src/nitron.js"></script>
    <script src="./App.js"></script>
</body>
</html>

App.js

nitron.component('component',{
  template:`
    <p>hello, World!</p>
  `
});

const App = `
  <Component />
`;

nitronDOM.render(App,document.getElementById('root'));

๋ผ์ด์„ ์Šค

Nitron ํŒ€์—์„œ ์ง€์›ํ•˜๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋ฐ ํ”„๋ ˆ์ž„์›Œํฌ ์™ธ์—๋Š” ํ•ด๋‹น ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ, ํ”„๋ ˆ์ž„์›Œํฌ ์ œ์ž‘ ํŒ€์—์„œ ๋ผ์ด์„ ์Šค๋ฅผ ๋ณ„๋„๋กœ ๊ณ ์ง€ํ•ฉ๋‹ˆ๋‹ค.

About

๐Ÿ‡ฐ๐Ÿ‡ท Nitron.js ๋Œ€ํ•œ๋ฏผ๊ตญ ์›น ๋ฌธ์„œ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published