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

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

I have this template:


Inside a Meteor app I can add this t

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-11 17:44

    Include in file packages.js of package

    before

    api.use('meteor-platform');
    api.use('ui');`
    

    after first ".html" files, after ".js" files

    api.addFiles('filename.html','client');
    api.addFiles('filename.js','client');`
    

提交回复
热议问题