Requires Node.js
git clone https://github.com/zouden/k-designer.git
cd k-designer
npm install
npm run build- Launch the web server by running
npm start - Open a browser and connect to localhost:5000.
After installing dependencies with npm install, start the server in watch mode using Rollup:
npm run devNavigate to localhost:5000. You should see the app running. Make a change to src/App.svelte, save it, and the page should automatically reload showing your changes.
If you're using Visual Studio Code we recommend installing the official extension Svelte for VS Code.
To create an optimised version of the app:
npm run buildYou can run the newly built app with npm start. This uses sirv, which is included in your package.json's dependencies so that the app will work when you deploy to platforms like Heroku.
With Vercel
Install vercel if you haven't already:
npm install -g vercelThen, from within your project folder:
cd public
vercel deploy --name my-projectWith surge
Install surge if you haven't already:
npm install -g surgeThen, from within your project folder:
surge public my-project.surge.sh