Initialize directory structure for Webflow to self-served page conversion
Initializes directory structure and validates Webflow export files for conversion.
/plugin marketplace add gutitrombotto/webflow-to-self-served-page/plugin install webflow-to-self-served-page@webflow-pluginsoptional-directory-pathInitialize the directory structure for Webflow conversion.
Target Directory: $ARGUMENTS (if provided, otherwise current directory)
mkdir -p data scripts js
Check for:
.html file.csv file.w-dyn-list, .w-dyn-bind-empty)If validation fails, warn the user that this might not be a valid Webflow export.
Display:
ā
Webflow Export Setup Complete
š Directory Structure:
- data/ (for generated JSON files)
- scripts/ (for CSV converter)
- js/ (for CMS loader)
š Detected Files:
- HTML files: X
- CSV files: X
- Collections detected: [list names]
š Next Steps:
Run '/webflow-convert' to start the conversion process.
If the user confirms, copy template files:
csv-to-json.py ā scripts/cms-loader.js ā js/Note: This command just sets up the structure. Use /webflow-convert for the full conversion workflow.