0

I need to compile and show this tutorial(https://github.com/wass08/table-configurator-three-js-r3F-tutorial-final) result with pure php. It's a react three.js page that allows user to edit a 3d table and I can run and see it using vite but I need to run it with a button on my pure php/css website

Actually I have an existing website that I want to redirect to the three.js page (jsx) using a button.

I tried some ways like script type. Changing mime type and etc. But still nothing.

7
  • 1
    I'm unsure what this has to do with PHP. It sounds like you're looking for a simple link <a href="your-url-here">my link</a>
    – Rob Eyre
    Commented Oct 30, 2023 at 11:14
  • @RobEyre I created my website using php and I need to send and recieve some data with php to three.js . It doesn't work with <a href>. It shows a white page Commented Oct 30, 2023 at 11:19
  • As mentioned in stackoverflow.com/questions/77387286/… (your other account?) the problem seems to be the three.js page, not linking to it. I don't see how a <a href> would not link to that page. That the page itself doesn't work seems to be the problem here. Hard to help without seeing any of your code
    – user8034901
    Commented Oct 30, 2023 at 11:33
  • @brombeer he's my co-workee. We can run three.js page with vite and I don't know what link should I write in <a href> for this situation. You mean run the three.js page with vite' and then put the address of vite in a <a>` tag? Commented Oct 30, 2023 at 12:25
  • Are you having trouble linking to a page? Or getting the threejs-page to work at all? Both your questions sound like you cannot link to a page. Maybe ask the repository's maintainer for any help?
    – user8034901
    Commented Oct 30, 2023 at 12:30

0

Browse other questions tagged or ask your own question.