How to add a template to body in Meteor inside a package

后端 未结 3 1075
野的像风
野的像风 2021-01-11 17:12

I have this template:


Inside a Meteor app I can add this t

3条回答
  •  时光说笑
    2021-01-11 17:36

    it is also important to include the html file before the js

    api.add_files("client/sampleTemplate.html", "client");
    api.add_files("client/sampleTemplate.js", "client");
    

提交回复
热议问题