vue-pagebuilder icon indicating copy to clipboard operation
vue-pagebuilder copied to clipboard

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

Open Fedibrahem opened this issue 1 year ago • 2 comments

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?

Fedibrahem avatar Jun 13 '23 15:06 Fedibrahem

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 avatar Sep 26 '23 09:09 dashpilot

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

npm run serve

and it will serve the project on localhost:8000

dashpilot avatar Apr 08 '24 13:04 dashpilot