-
-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option for no view engine #152
Comments
I think that is a good idea. |
I think I've got something close to working, but it's just a tiny bit awkward because "none" is different than every other view engine - e.g. the You can take a look at the WIP below. |
Yea, defaulting is certainly a discussion, but we can add it even without it being the default. A few PRs tried this previously, but got abandoned. The called it "static" instead of none, which is probably a good name for the engine. |
With the wealth of front end frameworks available now, I don't find it appealing to use any of the view engines, though bootstrapping technologies like this project appeal to me. My use case is as follows:
What are your thoughts on providing another flag (e.g. --view none) to avoid the view engine entirely? Perhaps if the same "plug-and-play" experience is desired the routes could serve up regular old HTML files from the public folder?
I can take a stab at adding it if it's viable.
The text was updated successfully, but these errors were encountered: