I have imported one node component like, "TfNavpane". Now I need to override the "TfNavpane template only as per requirement. I am using single page component which contains template, script and style tags and I can't modify the node component directly. Code snaps has given below. How can I achieve this?
Asked
Active
Viewed 232 times
0
-
Try extending your base component. Extends in Vue either inherit the base template, or you define a new one and overwrite it. – Paul Rdt Nov 30 '18 at 14:19
-
can you please give an example that how to overwrite it with my given code. – user2845121 Dec 01 '18 at 05:57
-
how about you take a look here https://stackoverflow.com/a/35964241/6283258 – Paul Rdt Dec 03 '18 at 10:44