Skip to content

SafdarJamal/vanilla-preact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

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

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.