Commit f9ee55bd by Tulip Li

task3 理解section结构

parent c9ec7845
# Task three
### Creating A New Section
* copying an existing section and making it work in the editor
* copying folders/files : (examples from Grid section)
1. grid.es6 -> _fe/js/components/sections/grid.es6_
2. GridLayout.es6 -> _fe/js/utils/layouts/GridLayout.es6_
3. GridLayoutButton.es6 -> _fs/js/components/layout\_buttons/GridLayoutButton.es6_
4. content.json -> _fe/manifests\_data/verticals/base/section\_selections/grid/content.json_
5. manifest.json (sections) -> _fe/manifests\_data/themes/base/sections/grid/manifest.json_
6. manifest.json (section_selections) -> _fe/manifests\_data/verticals/base/section\_selections/grid/manifest.json_
7. template.hrt -> _fe/manifests\_data/themes/base/sections/grid/thumbnail/template.hrt_
8. template.hrt
9. component.cjsx
10. Pro sections\
To mark a section as pro in FE and BE:
- Set proFeature to true in section/manifest.json
- Update section lists in feature\_cleaner.rb and premium_sections.rb
### Site Page And Section Structure
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment