Skip to content

index, functions, and style to theme root #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

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