Custom Slice Template

Hello, beautiful people

I double checked documentation and didn't found this awesome feature. So I consider sharing it.

If you create slice-template folder inside your project. SM will take template from this folder. In our case we are using typescript so this is big.

example we are using same default slice just with types.

Folder structure:

Screenshot 2021-02-22 at 10.13.59

Slice template:

Screenshot 2021-02-22 at 10.14.20

I hope this will be useful for someone and added to documentation in future.

Good luck! :heart::cherry_blossom:

1 Like

Thanks Arnas,

I wasn't aware of this capability :slight_smile:

I'll update the documentation to include this.

Thanks again.