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
I add partials: {directory: 'components'} to vite.config.js,
so that I could remove components/ from layouts/main.hbs
However, when starting npm run dev, I get an error "The partial layouts/main.hbs could not be found".
When looking at the code, it seems that in the case of a page index.json, the page template is included as a partial (but it is indeed not located in the partials directory and not registered).
The text was updated successfully, but these errors were encountered:
I am trying to understand how to make the partials directory work together with a separate layouts folder, and a JSON file under the pages folder.
In essence, this means adapting the Getting Started online example.
partials: {directory: 'components'}
to vite.config.js,components/
from layouts/main.hbsHowever, when starting
npm run dev
, I get an error "The partial layouts/main.hbs could not be found".When looking at the code, it seems that in the case of a page index.json, the page template is included as a partial (but it is indeed not located in the partials directory and not registered).
The text was updated successfully, but these errors were encountered: