html ์ž‘๋™ ์‹œ, Y=Uncaught SyntaxError๊ฐ€ ๋ฐœ์ƒ

 

๋จผ์ € npm์ด ์ปดํ“จํ„ฐ์— ๋‹ค์šด๋กœ๋“œ ๋˜์–ด์žˆ๋Š” ์ง€ ํ™•์ธ. ์ €๋ฒˆ์— node.js๋ฅผ ๋‹ค์šด๋กœ๋“œํ•˜๋ฉด์„œ, ๋™์‹œ์— ๋‹ค์šด๋กœ๋“œ์— ๋œ ์ƒํƒœ์˜€์Œ.

 

๋จผ์ € Visual Studio Code์—์„œ ์ƒˆ๋กœ์šด ํ„ฐ๋ฏธ๋„์„ ์—ด์–ด์„œ npm run start๋ฅผ ๋ˆŒ๋Ÿฌ๋ณด๋‹ˆ, parcel ์„ค์น˜๊ฐ€ ์•ˆ๋˜์–ด ์ž‘๋™์ด ์•ˆ๋จ.

Parcel website๋กœ ๋ฐฉ๋ฌธํ•ด, parcel ์„ค์น˜ ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋‚ธ ๋’ค, ๋‹ค์‹œ VSC ํ„ฐ๋ฏธ๋„๋กœ ๊ฐ€์„œ

npm install -g parcel-bundler ์ž…๋ ฅ ํ›„ npm init -y ์ž…๋ ฅ

 

์ฐธ๊ณ : parceljs.org/getting_started.html

 

๐Ÿš€ Getting Started

Getting Started Features ๐Ÿ“ฆ Asset Types Advanced ๐Ÿš€ Getting Started Parcel is a web application bundler, differentiated by its developer experience. It offers blazing fast performance utilizing multicore processing, and requires zero configuration. Fir

parceljs.org

 

๊ทธ ํ›„, npm run build์™€ npm run start๋ฅผ ํ•˜๋‹ˆ, ์—๋Ÿฌ๊ฐ€ ์‚ฌ๋ผ์ง.

 

 

+ Recent posts