Once you have a new unique ID for your extension, you can start to develop it by creating the folder structure, as shown in the example below.
Note: If you do not include JavaScript, Less styles, or Locales, you can omit those directories.
<EXTENSION NAME> : the root folder of your extension ext.json readme.txt widget/ <widget-type>/ widget.json readme.txt templates/ display.template edit.template js/ <widget type>.js less widget.less locales/ en/ ns.<widget-type>.json de/ ns.<widget-type>.json images/
When naming files for widgets, note the following:
display template: default templates are called display.template.
JavaScript: For Widgets loaded through an extension this will be defined in meta-data. The standard convention is to use the widget type name in the file name.
less: less files are called widget.less.
locales: each locale directory contains the resources for that locale. Convention is to use the widget type in the file name. Resource files are in JSON.