Hi, im tusing javascript to get data from firebase. My script requires me to import Firebase javascripts. When i try to import in Items. I always get
Can someone please tell me how i can import scripts when using items type scripting. For example i would like to include my script this.
Code:
Cannot compile script: SyntaxError: parse error
Code:
import { initializeApp } from "https://www.gstatic.com/firebasejs/9.6.10/firebase-app.js";
import { getDatabase, ref, onValue} from "https://www.gstatic.com/firebasejs/9.6.10/firebase-database.js";