Awesome
Kima
A dead simple WordPress starter with ViteJS and Twig.
How to use
- Go into the project folder and run
composer install
andnpm install
to install dependencies. - Copy / rename the .env.example file to .env.
- Inside the .env file, replace the the VITE_SITE_URL with your site url (eg. htttp://localhost/mysite) and VITE_THEME_FOLDER with your theme folder (locate at /wp-content/themes/).
- To start the development server run
npm run dev
. - To compile your assets run
npm run build
.