Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src
tests
.babelrc
.gitignore
README.md
netlify.toml
package.json

README.md

Preact analytics example

Demo link

See /src/analytics.js for analytics setup.

Page views are tracked with analytics.page via preact-router

CLI Commands

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# test the production build locally
npm run serve
You can’t perform that action at this time.