npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

sage-vite

v1.1.6

Published

An advanced WordPress starter theme that integrates Tailwind CSS, Laravel Blade templating, and Vite for fast and modern development workflows.

Downloads

490

Readme

Custom Sage Theme with Vite

Instruction

  1. Go to your theme folder inside wordpress
  2. Wp-Content/themes
  3. npm i sage-vite
  4. change directory cd sage-vite
  5. composer install
  6. yarn (Lock the file)
  7. yarn build
  8. yarn dev (for development server)

Overview

This is a customized WordPress theme based on the Sage starter theme, integrated with Vite for modern build tools and faster production builds.

Sage + Vite Theme

screenshot

Advanced WordPress starter theme with Tailwind CSS, Laravel Blade and Vite

Documentation

Key Points:

  • Clarify WSL Requirement: Document that WSL is necessary for Windows users to ensure proper functionality.
  • Explain Vite Integration: Provide instructions on how Vite is used and how it benefits the build process.
  • Include Troubleshooting Tips: Offer solutions for common issues that users might face during setup.

This approach will help users understand the specific requirements and configuration needed for your custom theme and ensure a smoother setup experience.

Requirements

Installation

Rename .env.example to .env and set the url for your site in APP_URL, also you can configurate the Hot Module Replacement in HMR_HOST and HMR_PORT

Make sure you have all the requirements, then clone the repository and inside of the folder run the follows commands.

=> After Installing

=> change your directory cd sage-vite First run:

  composer install
  yarn

Then:

Once you have all the dependencies you have to build the assets:

  yarn build

And Finally just run:

  yarn dev

Recomended libraries

  • ACF Composer for the advanced custom fields, (AFC Pro required)
  • Navi Easy way to handle the WordPress menus, I also hate the WordPress NavWalker xD
  • Poet provides simple configuration-based post type, taxonomy, editor color palette, block category, block pattern and block registration/modification.

Author

Raj Patel [email protected]