Vite for WP Example: Svelte
A plugin to demonstrate Vite for WP.
Setup
- Clone this repository into
wp-content/plugins
.
- Install dependencies:
composer install
npm install
npm run dev
# To build production assets:
npm run build
- Activate the plugin from WordPress admin.
- Visit your site's homepage and see the rendered application on the footer 🚀
Visit Vite for WP project page for documentation.