# SVAWC template

This is a project template for [SVAWC](https://immers-space.github.io/svawc/index.html) components. It lives at https://github.com/immers-space/svawc-template.

What's a SVAWC? Start here: https://github.com/immers-space/svawc

## Get started

Install the dependencies...

```bash
npm install
```

...then start [Rollup](https://rollupjs.org):

```bash
npm run dev
```

Navigate to [localhost:8080](http://localhost:8080). You should see your app running.

Write `.svelte` components in the `src` folder, register them in `src/main.js`, and
test them by adding them to `public/index.html`

## Building and releasing to NPM

The built bundle.js is excluded from git, but created an included in then npm package when publishing:

```bash
npm publish
```
