How to use astroplate theme with astro-theme-provider? #3
Replies: 2 comments
-
Hello 👋 Interesting! I have not done any testing with import aliases so I am not too sure why this is happening. What does your code look like? Is there a repo that I can check out? |
Beta Was this translation helpful? Give feedback.
-
Hey, I am going to close this for now. There have been a lot of major upgrades to the project, and using import aliases should now be supported. If you have any problems, feel free to open up an issue and I can help you out! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm using this package in order to simplify the management of my personal website which uses astroplate. The problem is that astroplates refers to layouts using a typescript path alias, so for example in the 404.astro page we have a import of
@/layouts/Base.astro
which resolves to an astroplate subpath. When I integrate the theme in my own project I get aCannot find module @/layouts/Base.astro
. How can I manage it? putting path aliases in my integration module doesn't solve the error. Any advice? Thanks a lot.Beta Was this translation helpful? Give feedback.
All reactions