is hydrogen supports .sass and our own created pure javascript ? #585
-
I have a hydrogen web application, i want to append it my new created script .js and some .sass files by calling them inside root.jsx , is that possible or there is a way to make it works as well from some config files ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Pure javascript should work fine by linking the .js code/module inside a script tag inside As for Sass, we don't prescribe tooling for compiling More info on Remix's styling guide |
Beta Was this translation helpful? Give feedback.
Pure javascript should work fine by linking the .js code/module inside a script tag inside
root.tsx
.As for Sass, we don't prescribe tooling for compiling
.sass
but if you add tooling then you could output the bundle toapp/styles/bundle.css
and then import it by adding a new entry toroot.links
the same way we do with the compiled tailwind in the demo-store template.More info on Remix's styling guide