Skip to content

DeadBryam/landing-page-template

Repository files navigation

Landing Page Template

A template for creating preact apps with vite

Dependencies

  • @preact/signals: Manage state with style in Preact
  • base64-js: Base64 encoding/decoding in pure JS
  • crypto-js: JavaScript library of crypto standards.
  • framer-motion: A simple and powerful JavaScript animation library
  • million: Make React Faster. Automatically.
  • pako: zlib port to javascript - fast, modularized, with browser support
  • preact: Fast 3kb React-compatible Virtual DOM library.
  • preact-i18n: Preact internationalization, done simply.
  • preact-router: Connect your components up to that address bar.
  • react-icons: SVG React icons of popular icon packs using ES6 imports
  • react-if: 🌗 Render React components conditionally
  • store2: Better localStorage

Dev Dependencies

License

MIT License

Run Locally

Clone the project

  git clone https://github.com/DeadBryam/landing-page-template.git

Go to the project directory

  cd landing-page-template

Install dependencies

  pnpm install

Start the server

  pnpm dev

Deployment

To deploy this project run

  Use your favorite hosting service, I recommend Vercel

Environment Variables

If you need to use environment variables, create a .env file in the root of the project and add the variables there.

For example:

VITE_API_URL=https://api.example.com

Use the variables in your code like this:

const apiUrl = import.meta.env.VITE_API_URL;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published