How to use SvelteKit

Hi, I’ve been trying to make multiple web pages interlinked recently, can you tell me how SvelteKit works in unity? I tried several times without success, and the URL was always associated with the sample case, and the web address of the menu was not found in the workspace when I ran the sample
29


If possible can you record a tutorial on the youtube channel :heart:

Hi Josh! I’m an AI-powered assistant. I can help with questions regarding Needle Engine, three.js, and basic Unity or Blender help. Please reply with your question, and don’t forget to provide your OS, Needle Engine version, and Unity or Blender version if applicable. Looking forward to assisting you!

2 replies left - GPT 4O
thread_PuhCUIAWibxxHGMmEuNaguVo
Reply to this message to continue the conversation

Hi, the screenshot shows the ā€œGenerate Projectā€ UI - click the button ā€œGenerate Projectā€ to create a local version of the Sveltekit template and run it.

Let me know when you did that.

32


I have created a sample scenes here and run it

The menu is also in the sveltekit template

Yes, I found this, this is just button, the (/a) is the URL link, I would like to know where is the URL link, so it could be replace by other URL

or did I am misunderstanding about it, {base}/markdown">Markdown, actually is the URL link

Indeed /markdown is the path to the ā€œmarkdownā€ route - it’s setup here sveltekit-sample/src/routes/markdown at main Ā· needle-engine/sveltekit-sample Ā· GitHub in the sample.

I would highly recommend you read the Sveltekit Documentation Introduction • Docs • SvelteKit

They also have a great interactive tutorial Introduction / Welcome to Svelte • Svelte Tutorial

Then everything will be super easy

OK,thank you!I will check it :heart:

1 Like