A simple light boilerplate with Preact powered by Webpack
🕊️ This is a simple light weight boilerplate with Preact and powered by Webpack. It aims for static splash pages or social bounce pages that need to be very light and don’t require complexity like routes or global states.
This boilerplate includes:
Clone the project and go into the directory
git clone https://github.com/nicohsieh/preact-splash-page-boilerplate.git my-splash-page
cd my-splash-page
Make it yours!
rm -rf .git && git init && npm init
Install the dependencies
npm install
Start a webpack dev server at :8000
npm start
Build production code into dist
folder
npm run build
Start a local server at dist
folder at :8080
to check the build
npm run start:dist
MIT