[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

codechips/svelte-forms-starter

Repository files navigation

svelte-forms-starter

📗 A starter project for my book - Svelte Forms: From WTF to FTW!

Svelte Forms Book

How to Run

This app uses Snowpack as bundler.

$ npm i && npm start

Open http://localhost:3000 to view it in the browser.

Linting

This starter comes with ESlint and Prettier integration that should work in your editor if it has support for it.

To run manually.

# to check the errors
$ npm run lint

# to fix the errors
$ npm run fix

There is also integration with svelte-check. It checks your files for errors when the project is running.

Examples

For the examples to look good paste them inside the div with class generic in the App.svelte file.