Preact
A sample Preact app for KintoHub
๐ Deploying on KintoHub
- Service Type: Static Site
- Repo: https://github.com/kintohub-examples/preact
- Branch: master
- Language: NodeJS
- Version: 13
- Build:
npm install && npm run build
- Build Output Path:
build
This will take a few minutes to deploy. Then click on the Access tab and copy the External Access
URL to see the Preact App.
๐จ Running locally
Pre-requisites: NodeJS v13+
- Clone the repository to a folder of choice.
$ git clone https://github.com/kintohub-examples/preact
$ cd preact
- Install the dependencies
$ npm install
- Runs
serve
ordev
, depending onNODE_ENV
value. Defaults todev server
$ npm run start
- Run a development, HMR server
$ npm run dev
- Run a production-like server
$ npm run serve
- Production-ready build
npm run build
๐ Support
Contact us: https://www.kintohub.com/contact-us
Discord: https://kintohub.com/discord