Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 543 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 543 Bytes

Vite for WP Example: Vanilla JS

A plugin to demonstrate Vite for WP.

Setup

  1. Clone this repository into wp-content/plugins.
  2. Install dependencies:
    composer install
    npm install
    npm run dev
    # To build production assets:
    npm run build
  3. Activate the plugin from WordPress admin.
  4. Visit your site's homepage and see the rendered application on the footer 🚀

Visit Vite for WP project page for documentation.