Topic
  • 1 reply
  • Latest Post - ‏2016-12-12T19:02:34Z by tasoares
BTNM
BTNM
1 Post

Pinned topic importing custom views as polymer components

‏2016-12-12T14:50:44Z |

Is it possible to import other views I have added on TRIRIGA, similarly to how we import the components that are provided?

If so, what is the default file path to follow?

 

e.g.

<link rel="import" href="../triplat-ds/triplat-ds.html">

<link rel="import" href="../custom-view/custom-view.html">

 

Thanks

  • tasoares
    tasoares
    39 Posts
    ACCEPTED ANSWER

    Re: importing custom views as polymer components

    ‏2016-12-12T19:02:34Z  

    Yes, it is possible.

    You got the point. The path to import a component from a custom view is similar to how we import other components:

    <link rel="import" href="../name-of-the-view/name-of-the-file.html">

  • tasoares
    tasoares
    39 Posts

    Re: importing custom views as polymer components

    ‏2016-12-12T19:02:34Z  

    Yes, it is possible.

    You got the point. The path to import a component from a custom view is similar to how we import other components:

    <link rel="import" href="../name-of-the-view/name-of-the-file.html">