Inline Template with a Custom Directive - Developing Plugins

users tend to template with the “x-text“ directive. Let’s take some pointers from other frameworks and introduce a handlebar / curly-brace powered templating system with a custom “x-template“ directive. Note: the template engine developed in this video is very naïve and insecure. If can technically write any JavaScript expression inside of the template tags and it will be evaluated. : Twitter:
Back to Top