This theme is made utilizing WordPress Adapter
To make it work in Vite I have taken inspiration from Laravel Vite Plugin
Theme uses Inertia.js Vite and Svelte
I have only tested this on Bedrock for default WordPress instalations please change base path in vite.config.js
to /wp-content/themes/base/public
export default defineConfig({
base: '/wp-content/themes/base/public',
...
});
Before continuing Composer and Node is required.
Current theme setup expects you use localhost as local site address.
Install theme required packages
composer install
Install node modules
npm install
For theme layout development run
npm run dev
To build assets for production
npm run build