Change folder structure?


#1

Can i change the project structure folders to place views in another folder inside app?
ex.: app/views/main.html or app/views/main.xml

obs.: i tried, but no success so far…


#2

Try to share more information, code snippet or more preferably a playground example to explain your issue and what exactly you see in console / any errors etc.,


#3

Hello,this is the custom folder structure for me project, i want apply clean architecture for NativeScript.i am using the routes and module that provides the framework but i dont load the views in my emulator.here i leave a printscreen of my structure.use how reference the following template tns-template-master-detail-ng for work with the routes


#4

This is the project:


#5

The issue have been solved adding:
Import { Injectable } from “@angular/core”;
thanks