Empty Nativescript angular project


#1

How can I create empty nativescript angular project?

Apparently
tns create myproject --ng
creates project with template “tns-template-hello-world-ng”. And there are some unnecessary files are getting created and not sure if i remove which one may fails project’s build.
So if there is any empty template to develop application can be helpful.


#2

hello @nike
I think what you’re looking for is this:

tns create my-app-name --template tns-template-blank

Please let me know if it worked!

Link Reference:https://www.tjvantoll.com/2016/02/22/creating-nativescript-templates/


#3

Hi PurpleRune,

I am sorry for late reply. I got busy with other works. Today I checked template you mentioned in your comment. I am using windows platform so its showing me error as

“rm: could not remove directory (code EBUSY): C:/Windows/System32/my-app-name”

I checked with administrator rights to make sure it ain’t rights issue but still same error.

this worked for me… I needed angular empty template…

tns create my-app-name --template tns-template-blank-ng

Thanks.