SyntaxError: Cannot use import statement outside a module

tonyhan18 2022. 3. 30. 15:29
728x90

package.json 안에

"type": "module" 적기

728x90