Skip to content

kucrut/vite-for-wp-example-vanilla-js

Repository files navigation

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.

About

A plugin to demonstrate Vite for WP integration (Vanilla JS)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published