Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
titoBouzout committed Jan 28, 2024
1 parent 7c78a26 commit ec6245f
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,45 @@
# pota templates for [vite](https://vitejs.dev/)
# pota templates

## Get started
### Compiler-less

```bash
npx degit potahtml/templates/html pota-project
cd pota-project
echo "double click index.html"
```

### Rollup

```bash
npx degit potahtml/templates/rollup pota-project
cd pota-project
npm install --include=dev
npm run dev
npm run serve
```

### JavaScript

for [vite](https://vitejs.dev/)

```bash
npx degit potaorg/templates/js pota-project
npx degit potahtml/templates/js pota-project
cd pota-project
npm install --include=dev
npm run dev
```

### TypeScript

for [vite](https://vitejs.dev/)

Note: please note this template may need some tweak, contributions welcome!

```bash
npx degit potaorg/templates/ts pota-project
npx degit potahtml/templates/ts pota-project
cd pota-project
npm install --include=dev
npm run dev
```

## Contributing

0 comments on commit ec6245f

Please sign in to comment.