You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each MVC project has a views path. crest init writes one also when the folder does not exist, and crest uses themes/default when crest.php has no views key. An MVC project that only returns JSON has no views, but it cannot tell crest this. So new and make:scaffold write a views folder, a layout and view files that the project does not use.
Scope
A way for an MVC project to say that it has no views. A possible start: crest new --template-engine=none, and a views value in crest.php that means "no views".
new, init and config:show know this value.
The commands that write views (new, make:scaffold) skip the views, or stop with a message.
Open
The option and the value in crest.php.
Skip or stop, for each command that writes views.
Done when
crest new --template-engine=none (or the chosen option) gives an MVC project with no views folder, no layout and no view files.
In that project, crest make:scaffold <table> writes no views, or stops with a clear message.
crest config:show shows that the project has no views.
Activity
[#83] - adding new --template-engine=none for an MVC project with no …
[#83] - adding tests for an MVC project with no views
[#83] - updating docs and changelog
niden commentedon Nov 22, 2026
Resolved in #90