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?
-
Try extending your base component. Extends in Vue either inherit the base template, or you define a new one and overwrite it.Paul Rdt– Paul Rdt2018-11-30 14:19:09 +00:00Commented Nov 30, 2018 at 14:19
-
can you please give an example that how to overwrite it with my given code.user2845121– user28451212018-12-01 05:57:22 +00:00Commented Dec 1, 2018 at 5:57
-
how about you take a look here stackoverflow.com/a/35964241/6283258Paul Rdt– Paul Rdt2018-12-03 10:44:20 +00:00Commented Dec 3, 2018 at 10:44
Add a comment
|

