R REN31 Grasshopper Jul 14, 2022 #1 How can I access the "this.$route" object on my vue file. Paano po maaccess to sa typescipt? Sa normal javascript ayos naman to. Gusto ko po makuha yung layout na pinasa ko sa router.
How can I access the "this.$route" object on my vue file. Paano po maaccess to sa typescipt? Sa normal javascript ayos naman to. Gusto ko po makuha yung layout na pinasa ko sa router.
TS TS R REN31 Grasshopper Jul 14, 2022 #3 PHC_Jayvee said: Hover mo yung this para makita mo error Click to expand...
P PHC_Jayvee nakatapos din sa research😂🤣 Jul 14, 2022 #4 REN31 said: View attachment 2029833 Click to expand... Possible daw kasing undefined yan Hindi ako vue expert Pwede mag work code mo Kaso possible yung bug dyan Mas bettr i catch mo lang Yan kasi kagandahan kay typescript If sure ka naman hindi sya undefined add ka ng ! Or ?
REN31 said: View attachment 2029833 Click to expand... Possible daw kasing undefined yan Hindi ako vue expert Pwede mag work code mo Kaso possible yung bug dyan Mas bettr i catch mo lang Yan kasi kagandahan kay typescript If sure ka naman hindi sya undefined add ka ng ! Or ?