An open API service indexing awesome lists of open source software.

https://github.com/safdarjamal/vanilla-preact

Vanilla Preact is a barebones starter kit for building Preact applications without build or tooling.
https://github.com/safdarjamal/vanilla-preact

barebones-starter-kit es6-modules esmodules hacker-news htm javascript no-build no-jsx preact preact-app preact-boilerplate ui unpkg vanilla-preact

Last synced: 9 months ago
JSON representation

Vanilla Preact is a barebones starter kit for building Preact applications without build or tooling.

Awesome Lists containing this project

README

          


Vanilla Preact


Vanilla Preact is a barebones starter kit for building Preact applications without build or tooling.


Preact App in Action

## Development

To get a local copy of the code, clone it using git:

```
git clone https://github.com/SafdarJamal/vanilla-preact.git
cd vanilla-preact
```

Make it your own:

```
rm -rf .git && git init
git add .
git commit -m "Initial commit"
```

Go inside `src` directory:

```
cd src
```

Now, you need to start a local web server. The easiest way to do this is to use any of the following options:

[Download Web Server for Chrome](https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphhbklhfoeikjpcbhemlocgigb)

OR

Install `http-server` globally:

```
npm install http-server -g
```

This will install `http-server` globally so that it may be run from the command line anywhere.

```
http-server
```

OR

Use Python's `SimpleHTTPServer`:

```
python -m SimpleHTTPServer
```

## Contributing

Contributions, issues, and feature requests are welcome.

## Support

Give a ⭐️ if this project helped you!

## License

Licensed under the [MIT License](https://github.com/SafdarJamal/vanilla-preact/blob/master/LICENSE).