#CW crafting not showing a preview with pnpm dev
1 messages · Page 1 of 1 (latest)
Hey Anna
Yeah it needs player data to be used I think. I never got to spoofing data for it to be used in browser devving
if you run watch you can just hot-reload it in game tho
Yea but i do like using it on the browser so it changes irl, and not use nui devtools as they are very wonky

Then I got bad news 
I usually make a fake data debug thing when I start and then I'm to lazy to keep up with changed 🦥

Well then
This is what i get when trying to build
I spent an hour using dev tool and at the end i got an error lmao
@foggy anvil Can u send me buildable web file please?
The web files on git are buildable no?
Nope
I redownloaded it
And nothing
:/
I tried the old version i had too
And still same error
Yea
what if you use npm instead of pnpm
Yeah, had problems using pnpm on windows before
npm is like the old betsy. Kinda shitty but it alwasy works 
Im just kinda bummed that i spent a lot of time doing the ui and then it broke on me
Have to do that all again

Yea
IT all works
Watch
dev (but doesnt show)
Until i got to build
and i get this
.
I have no idea what that error means
it's something with TS compiling
Maybe there's some version that's messed shit up
Well
Which is why the npm works as it has the packagelock
This deffo smells like some package version issue
Did you do npm i? if so, can you try grabbing the latest package-lock on git instead?
But watch works?
Because watch also builds if you change something 
Well you know when u change something in the nui dev tools
it should say that something changed no ?
I do no believe it does on this one
When i do npm run watch
Same warning
Prolly cuz i use the latest updates?
Like it does show this at the end
But npm run build or pnpm build
Does not
Try grabbing the latest version. Put it somewhere else and do a build
see if it works
OH u mean of the script?
yeah
and do a build
Yea i know 
But since it didnt work with pnpm
i reverted back to the version i had
before updating
Also
For watch
I just change stuff in nui dev tools
And it does the changes right?
Yea
watch just auto-builds

I am changing stuff in nui dev tools but its not triggering the watch
It stays like this
Get off the computer Anna 
For most fixes you probably only need to modify the theme
theme is found in src/plugins/vuetify.ts
Between whats in nui dev tools and whats in the files
Is night and day
trying to find this
Cant for the life of me
Well how i want it is not just change the color
Its a whole thing
This whole thing
you can probably override vuetify classes

How would u go on about this
probably google how to override classes and do it that way
sinec I don't remeber how to

might be possible to just use the theme that I linked also


