You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the docs multisite, "If a requested view exists in a subdirectory with the same name as your site handle, it will load it instead."
This works great but SSG seems to ignore it and instead looks in the first site directory.
e.g. I have a component here /resources/views/secondsite/partials/components/vidstack/core.antlers.html
This loads fine when I call it in Antlers like this: {{ partial:components/vidstack/core }} but when running php please ssg:generate I get the error
/second_domain (View [components.vidstack.core] not found.)
If I move this component to the main directory, e.g. /resources/views/partials/components/vidstack/core.antlers.html the error disappears when running php please ssg:generate
Support Details
Environment
Laravel Version: 10.48.11
PHP Version: 8.2.16
Composer Version: 2.7.6
Environment: local
Debug Mode: ENABLED
URL: site.test
Maintenance Mode: OFF
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: file
Livewire
Livewire: v3.5.0
Sentry
Enabled: MISSING DSN
Environment: local
Laravel SDK Version: 3.8.2
PHP SDK Version: 3.22.1
Release: NOT SET
Sample Rate Errors: 100%
Sample Rate Performance Monitoring: NOT SET
Sample Rate Profiling: NOT SET
Send Default PII: DISABLED
Statamic
Addons: 7
Sites: 2 (Site One, Site Two)
Stache Watcher: Enabled
Static Caching: Disabled
Version: 5.5.0 PRO
Statamic Addons
aerni/advanced-seo: 2.5.1
jonassiewertsen/statamic-live-search: 2.1.1
jonassiewertsen/statamic-livewire: 3.3.1
rias/statamic-redirect: 3.7.1
statamic/collaboration: 1.0.0
statamic/ssg: 3.0.1
stefangalescu/statamic-heroicons: 3.0
The text was updated successfully, but these errors were encountered:
According to the docs multisite, "If a requested view exists in a subdirectory with the same name as your site handle, it will load it instead."
This works great but SSG seems to ignore it and instead looks in the first site directory.
e.g. I have a component here
/resources/views/secondsite/partials/components/vidstack/core.antlers.html
This loads fine when I call it in Antlers like this:
{{ partial:components/vidstack/core }}
but when runningphp please ssg:generate
I get the error/second_domain (View [components.vidstack.core] not found.)
If I move this component to the main directory, e.g.
/resources/views/partials/components/vidstack/core.antlers.html
the error disappears when runningphp please ssg:generate
Support Details
The text was updated successfully, but these errors were encountered: