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.
- Host: GitHub
- URL: https://github.com/safdarjamal/vanilla-preact
- Owner: SafdarJamal
- License: mit
- Created: 2019-10-15T13:52:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-25T18:07:11.000Z (over 3 years ago)
- Last Synced: 2025-04-09T07:22:58.016Z (about 1 year ago)
- Topics: barebones-starter-kit, es6-modules, esmodules, hacker-news, htm, javascript, no-build, no-jsx, preact, preact-app, preact-boilerplate, ui, unpkg, vanilla-preact
- Language: JavaScript
- Homepage: https://vanilla-preact.surge.sh
- Size: 20.5 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Vanilla Preact
Vanilla Preact is a barebones starter kit for building Preact applications without build or tooling.
## 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).