Hmm. I'm not an expert, but make sure your styles.css and index.gui are properly configured. Then, I have the formatDate function in a "util" folder.
import * as util from "../common/util";
I call it from inside my app by :
// Uses formatDate function to display my date
function myFormCal() {
myCal.text = `${util.formatDate(new Date())}`
} My entire program is here...
Best AnswerStill no working. but thank you though! And I won`t give up, hope I can figure it out soon.
Best Answer