Vanilla Preact is a barebones starter kit for building Preact applications without build or tooling.
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
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
Contributions, issues, and feature requests are welcome.
Give a ⭐️ if this project helped you!
Licensed under the MIT License.