KiaClouth
Explore posts from serversWhen I use blockly, nothing is on the page
It shouldn't be, this is the result of I modifying index.tsx in the basic solidstart sample project. After pnpm create solid@latest, I replaced the content of index.tsx with this and turned off ssr.
11 replies
When I use blockly, nothing is on the page
This is a new project I created using pnpm create solid@latest, I just replaced the contents of index.tsx with this. When I comment out blockly-related code, there will be content in the #app tag. I think it might not be a runtime error, maybe it is vite or something, and I'm not sure.
11 replies
How to reduce undefined judgments
// Thanks for your answer, but I think I described it wrong. Actually I want to solve the problem of ts, because I need to execute many statements like
engine().scene = {}
, but judging engine() !== undefined
can't ensure that engine() !== undefined afterwards. That's it, I want to write less error handling without using !. I hope I made it clear...19 replies
Incorrect response MIME type. Expected 'application/wasm'.
Just tried adding it to app.config.ts, but it didn't work. I looked for methods like
WebAssembly.instantiateStreaming
in the code of wa-sqlite. I don’t know much about it. It may take more time. I plan to change the method for the time being. Thank you for your suggestion.7 replies