No description
| .vscode | ||
| public | ||
| src | ||
| .gitignore | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
The project is based on Kirby CMS, Vite + Vue and Pinia as a state manager. Vue is used following the composition API approach.
First setup :
- From the
/publicdirectory, install the Kirby dependencies :composer install - From the root directory, install the Node dependencies :
npm install - Replace the
public/site/plugins/kqlplugins by its last version, downloaded from the official GitHub repo. - Launch the servers (see below).
- Create the first user to the Kirby panel through http://localhost:8888/panel
- In the root directory, create an .env file containing your user's connexion informations :
VITE_USERNAME=mail@example.com
VITE_PASSWORD=your-private-password
Development environment
- From the
/publicdirectory, launch the PHP server :php -S localhost:8888 kirby/router.php - In another terminal tab, from the root directory, launch the Vite server :
vite