now-init-svelte is a tool that allows you to generate files that are needed to use svelte/sapper with now.sh.
To install now-init-svelte, use npm:
npm install --global now-init-svelte
To generate the files:
now-init-svelte svelte # Serve locally now dev # Deploy to now.sh now
To generate files for sapper projects:
now-init-svelte sapper npm run build # Serve locally now dev # Deploy to now.sh now
Pull requests are encouraged and always welcome. Pick an issue and help us out!
To install and work on now-init-svelte locally:
git clone https://github.com/Axelen123/now-init-svelte.git cd now-init-svelte npm install
To build the project, and all the other modules included in the package:
npm run build
npm run test