niels
Explore posts from serversFIleUpload infinitely loading after "Create"
Figured it out. APP_URL env was set to http://localhost but I was using http://127.0.0.1:8000
Set
APP_URL=http://127.0.0.1:8000
and now it works as expected6 replies
TTCTheo'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