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'm using the standalone build of tailwindcss in a golang project with templ. Specifically templui.
I pull in the components using go's package manager. The components are outside the project in a path
It would be especially nice if this could be automatic. It would help support other languages like golang.
An alternative and is to support templ and golang directly. That would be absolutely amazing but probably quite complex and getting a bit too specific. I think the variable expansion is the simplest approach for now.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using the standalone build of tailwindcss in a golang project with templ. Specifically templui.
I pull in the components using go's package manager. The components are outside the project in a path
${GOPATH}/pkg/mod/github.com/axzilla/templui
So I have to manually expand the GOPATH variable here:
@source "${GOPATH}/pkg/mod/github.com/axzilla/templui@*/**/*.{go,templ}";
It would be especially nice if this could be automatic. It would help support other languages like golang.
An alternative and is to support templ and golang directly. That would be absolutely amazing but probably quite complex and getting a bit too specific. I think the variable expansion is the simplest approach for now.
Beta Was this translation helpful? Give feedback.
All reactions