Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I was wondering how to run the project like in the demo #1

Open
Fedibrahem opened this issue Jun 13, 2023 · 2 comments
Open

I was wondering how to run the project like in the demo #1

Fedibrahem opened this issue Jun 13, 2023 · 2 comments

Comments

@Fedibrahem
Copy link

hello
i ve been trying to run the project
i checked the commands on the package.json
so they run the bundle.mjs
i tried to add http-server but the html file does not load
any help?

@dashpilot
Copy link
Owner

Sorry for getting back this late, I didn't get a notification.

To run the demo locally, you could use:
npx http-server /path/to/folder

or use the "serve" package:
cd /path/to/folder
npx serve

Both options will start a local server and serve the demo. Let me know if that works for you

@dashpilot
Copy link
Owner

Update: I've now included a local server using Rollup. Just run:

npm run serve

and it will serve the project on localhost:8000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants