This question is locked. New answers and comments are not allowed.
Hey all,
It's a little weird that CLI-created projects generate an app folder within an app folder. I'm working on a video where I explain the folder structure, and no matter how hard I try, every explanation of that sounds silly.
The folder structure makes sense in a Platform project, where the outer folder isn't visible, but from the CLI it's odd. Can the outer “app” folder be named something else—“project”, “dev”, something—or could the inner app folder be removed?
I'm more of a fan of removing the inner app folder. In AppBuilder hybrid projects the App_Resources folder is a sibling of application code (e.g. index.html, etc), and there doesn't seem to be a need for the inner app folder in NativeScript projects. I would actually expect my app.js, bootstrap.js, etc to be siblings of my package.json.
Anyways, I realize you've probably been over directory structure a lot and I'm coming in late, but I wanted to let you know that having basically all of your code in an app/app folder is odd, and hard to explain when giving an introduction to NativeScript. I'd welcome any change that makes that easier.
TJ
It's a little weird that CLI-created projects generate an app folder within an app folder. I'm working on a video where I explain the folder structure, and no matter how hard I try, every explanation of that sounds silly.
The folder structure makes sense in a Platform project, where the outer folder isn't visible, but from the CLI it's odd. Can the outer “app” folder be named something else—“project”, “dev”, something—or could the inner app folder be removed?
I'm more of a fan of removing the inner app folder. In AppBuilder hybrid projects the App_Resources folder is a sibling of application code (e.g. index.html, etc), and there doesn't seem to be a need for the inner app folder in NativeScript projects. I would actually expect my app.js, bootstrap.js, etc to be siblings of my package.json.
Anyways, I realize you've probably been over directory structure a lot and I'm coming in late, but I wanted to let you know that having basically all of your code in an app/app folder is odd, and hard to explain when giving an introduction to NativeScript. I'd welcome any change that makes that easier.
TJ