Skip to content

index, functions, and style to theme root#13

Open
asuh wants to merge 1 commit intomainfrom
file-structure
Open

index, functions, and style to theme root#13
asuh wants to merge 1 commit intomainfrom
file-structure

Conversation

@asuh
Copy link
Owner

@asuh asuh commented Apr 14, 2025

This file structure is closer to Sage's structure. It's also aligned with classic theme file structures.

Most modern projects that rely on build scripts like Vite or Turbopack/Webpack usually have all critical files in an /app/ directory, or similar. This one uses /resources/ for the view files and assets.

Considering this is a WordPress theme, keeping the base minimum files in the theme root makes just as much sense.

This file structure is closer to Sage's structure. It's also aligned with classic theme file structures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant