Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to run method in method vue js on load

 ....
 methods:{
     getUnits: function() {...}
 },
 beforeMount(){
    this.getUnits()
 },
 ......
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #method #method #vue #js #load
ADD COMMENT
Topic
Name
9+4 =