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๋ฅผ ํ๋, ์๋ฌ๊ฐ ์ฌ๋ผ์ง.