This is starter for using Preact + Typescript + Parcel.
+ src
+-- components
+-- In here contain components for pages inside folder
+-- app.tsx, this for layouting and routing.
+-- pages
+-- In here contain routable pages for defined on components/app.tsx
- Use generate this as template repo or just clone it (
git clone https://github.com/ywnn/preact-typescript-parcel
) - run
yarn install
ornpm install
- then run
yarn start
ornpm run start
- for building run
yarn build
ornpm run build
yarn init -y
yarn add typescript parcel-bundler -D
yarn add preact
UNLICENSE Sublicense as you want.