3

Always I store an all my front-end sources in Site Root Folder. But today I update netbeans to 8.1 and I notice the Source Folder in the project properties. What this folder for?

enter image description here

Misa Lazovic
  • 2,805
  • 10
  • 32
  • 38
Denis535
  • 3,407
  • 4
  • 25
  • 36

2 Answers2

3

It is good explained in NetBeans Help -> Project Properties Window: Sources

Site Root Folder The contents of this folder will be available through the web server on the production site. It contains the HTML, CSS and JS files that are publicly accessible/visible. This folder typically contains the index.html file.

Source Folder The folder in the project that serves for server-side sources (typically node.js JS files). If the project is a JS library, JavaScript files should be placed in this folder (not in the Site Root Folder).

Geery.S
  • 121
  • 2
  • 10
0

When you use Grunt or Gulp you should store sources and final site and different folders.

Denis535
  • 3,407
  • 4
  • 25
  • 36