-
-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Description
As the NativeScript 2.5 release, NativeScript templates now must provide a complete App_Resources folder in order to work. I believe we should revert that change, and make App_Resources optional for templates. Here’s why:
- The easier we make templates to create the more people will create them. We don’t have many templates right now and it’d be great to have more community-written ones.
- Very few templates will actually need to change files in
App_Resources. Few templates will need to add images, and none will want to alter the default splash screens or icons. That means most template authors will do what I did, and copy/paste theApp_Resourcesfolder from the default hello world template. - We update the
App_Resourcesfolder in the default template fairly often, and I want those updates to make it into my templates. To accomplish this currently I have to manually check forApp_Resourcesupdates with each release, copy and paste the folder again, and publish a brand new version of each of my templates.
I realize that this change was made for performance reasons—that we don’t want users to download two templates when using App_Resources-free templates. But I believe the developer convenience outweighs the moderate performance gains. And most users will continue to use one of our three default templates, all of which include an App_Resources folder, and will therefore not be subject to this small performance hit.
Reactions are currently unavailable