I'm a self-study student and having "Cannot use import statement outside a module-javascript" error So, im trying to import hello() from hello.js..
///////////hello.js///////
export default function hello(){
console.log("hello")
}
////////////app.js/////////
import hello from "./hello"
hello()