Is it possible importing components? #38
Unanswered
mybardaklar
asked this question in
Q&A
Replies: 1 comment
-
Hi, I am not sure to understand your question. With posthtml-components you don't include your module like you show, but you can use If you mean to import like an ES6 module then that it's not possible. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello @thewebartisan7,
Is it possible importing components? Because i dont wanna use it like "<module src="../components/button.html".
Do you know Astro.js? Probably you've heard of it. I want it something like that.
Link: https://docs.astro.build/en/core-concepts/astro-components
As you can see it allows us importing components and using them. And also it allows us declaring local variables and importing files.
Is it possible something like this?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions