dashpilot / vue-pagebuilder

A modular pagebuilder for Vue 3, uses ES Modules instead of single-file-components
https://vue-pagebuilder.vercel.app
141 stars 21 forks source link

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

Open ghost opened 1 year ago

ghost commented 1 year ago

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 commented 1 year ago

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 commented 7 months ago

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

npm run serve

and it will serve the project on localhost:8000