Rapidly build modern landing pages with Vite and Tailwind CSS.
Tip:
Use HypeUI by simply copying the components code.
Set mode: dark or light
- Open the
/assets/darkmode.js
- Set
localStorage.theme = ''
If left blank, the mode will be based on OS preferences
Recommended plugins
- Tailwind CSS IntelliSense
- Sass (.sass only)
- Prettier - Code formatter
Git clone
git clone https://github.com/leandrow/init-landing-page.git
Enter the project folder
cd init-landing-page
Install dependencies with pnpm
pnpm install
To run
npm run dev
To build
npm run build
npm run preview
Dev
|-- assets
|-- page
|-- public/images
|-- styles
|
|-- index.html
Build
|-- assets
|-- images
|-- page
|
|-- index.html
We also added a customized 404.html
(page not found) for Github pages in the dev/public
folder.
Got any suggestions to make things even better?
Send it here or create a new pull request.