https://github.com/weblartiste/vite-wordpress-starter-template
A starter WordPress theme using Vite.js
https://github.com/weblartiste/vite-wordpress-starter-template
es6-javascript javascript php vitejs wordpress wordpress-theme
Last synced: 3 months ago
JSON representation
A starter WordPress theme using Vite.js
- Host: GitHub
- URL: https://github.com/weblartiste/vite-wordpress-starter-template
- Owner: weblartiste
- Created: 2025-04-14T11:54:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-14T12:05:20.000Z (about 1 year ago)
- Last Synced: 2025-04-15T01:17:48.350Z (about 1 year ago)
- Topics: es6-javascript, javascript, php, vitejs, wordpress, wordpress-theme
- Language: PHP
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wordpress Vite.js starter Template

## Features
- [Vite.js](https://vitejs.dev/) to compile theme assets
- Live reload
- /src structure
- [SASS](http://sass-lang.com/) (@use)
- composer demo
- [ES6](https://github.com/lukehoban/es6features#readme) for JavaScript
- Polylang ready
- And more...
## Requirements
* [Node](https://nodejs.org/)
## Usage
First, clone this repository in your WordPress themes directory.
Then, run the following commands in the theme's directory :
pnpm install
Launch your watch for assets with :
pnpm dev
For production sites, create your build with :
pnpm build
If you need :
composer update
Check src/functions/composer_demo.php for more informations about autoload!
Thanks to [oguilleux](https://github.com/oguilleux/vite-wordpress-starter-theme) for inspiration!