[Poll] Is it better to use /views, /pages, or /docs for HTML files?
Vandesm14 (2265)

If you have the following file structure:

    /(views, pages, docs?)

What is the best name for the HTML folder? (no, don't make it "html")

You are viewing a single comment. View All
TheDrone7 (1076)

It depends in my case. If I am using a templating engine, I put them under 2 folders namely templates and views. When I'm not using templating engines, I put them directly under my static folder.
Also, when using nuxtjs, I have to use .vue files which I put under the pages directory as nuxt asks me to.

In my opinion just choose what seems most appropriate to you.
(Although docs won't be a meaningful name for this purpose in my personal opinion).