You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Oscar Dominguez 938ddb12c5
ci(workflow): add cache to workflows using actions/setup-node (#1787)
5 days ago
.github ci(workflow): add cache to workflows using actions/setup-node (#1787) 5 days ago
.netlify add netlify config 2 years ago
config success i think? 3 years ago
runtime Fix status code when requesting directory (#1734) 4 months ago
site Bump prismjs from 1.23.0 to 1.24.0 in /site (#1785) 6 days ago
src replace onload with addEventListener in inject_styles (#1790) 6 days ago
test Allow export to succeed when user has not provided base tag (#1208) 4 months ago
webpack Slot-based routing (#573) 2 years ago
.eslintignore Enable eslint (#1394) 12 months ago
.eslintrc.js Linting covering tests and site (#1573) 10 months ago
.gitignore Support extensions with multiple dots (#1513) 10 months ago
.mocharc.yml Turn on basic type checking (#1386) 12 months ago
CHANGELOG.md -> v0.29.2 5 days ago
LICENSE update LICENSE copyright year (#1100) 1 year ago
README.md Update intro text 3 months ago
api.js update rollup 3 years ago
index.js update tests 3 years ago
package-lock.json -> v0.29.2 5 days ago
package.json -> v0.29.2 5 days ago
rollup.config.js Remove Rollup interop code (#1637) 8 months ago
sapper update rollup 3 years ago
sapper-dev-client.js close dev event source before window is unloaded (#945) 1 year ago
tsconfig.json Fix runtime router handling of encoded query parameters 7 months ago
webpack.js deprecate, dont break 3 years ago

README.md

sapper

The next small thing in web development, powered by Svelte.

What is Sapper?

Sapper is a framework for building high-performance universal web apps. Read the guide or the introductory blog post to learn more.

SvelteKit

Sapper's successor, SvelteKit, is currently available for use. Please see the FAQ for more details.

Get started

Clone the starter project template with degit... When cloning you have to choose between rollup or webpack:

npx degit "sveltejs/sapper-template#rollup" my-app
# or: npx degit "sveltejs/sapper-template#webpack" my-app

...then install dependencies and start the dev server...

cd my-app
npm install
npm run dev

...and navigate to localhost:3000. To build and run in production mode:

npm run build
npm start

Development

Pull requests are encouraged and always welcome. Pick an issue and help us out!

To install and work on Sapper locally:

git clone https://github.com/sveltejs/sapper.git
cd sapper
npm install
npm run dev

Linking to a Live Project

You can make changes locally to Sapper and test it against a local Sapper project. For a quick project that takes almost no setup, use the default sapper-template project. Instruction on setup are found in that project repository.

To link Sapper to your project, from the root of your local Sapper git checkout:

cd sapper
npm link

Then, to link from sapper-template (or any other given project):

cd sapper-template
npm link sapper

You should be good to test changes locally.

Running Tests

npm run test

License

MIT