niels
Explore posts from serversTTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
hey thanks for the share, ill look into it
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
I bet there's still some optimizing possible but this is a 'good' start
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
https://github.dev/niebag/turborepo-starter/tree/feat/ui u can check here if u like
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
So to sum it up:
Put CSS file in app
Require PostCSS and Tailwind config from UI and export inside app
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
I made it a relative path and now both dev (with HMR) and build are compiled
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
i thought it didnt work but that's because I commented the utils import because it didnt respect the TS path alias
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
wait actually it works
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
hmm no
after building, the tailwind from the ui is no longer bundled
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
ill check if building the app works
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
no need for extra builders
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
and HMR still works
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
This error disappears when moving the css file from the ui package to the app
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
However
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
HMR 'works' but it also raises
Error: No link element found for chunk static/chunks/[project]_packages_ui_src_styles_globals_37af79.css
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
it didnt recognize the contents for packages
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
oh lol it works now
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
funny enough when i use the css file from ui, it does compile all the classnames used in the app
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
doesnt appear to be working
95 replies
TTCTheo's Typesafe Cult
•Created by niels on 1/17/2024 in #questions
Monorepo UI package has no styling when imported
might try that
95 replies