- ⚡ Super fast single page application (SPA).
- 🔥 Hot Module Replacment (HMR).
- 🧩 Easy to install and update.
- 🪓 Easy to customize.
- 🔧 Zero Configuarations.
- ✨ And much more...
Note: none of these plugins or frameworks are required, feel free to remove or replace them as you like.
- Windicss: on-demand alternative to Tailwind, with bunch of additional cool features and much faster.
- svelte-spa-router: A lightweight routing plugin.
Make sure your server meets CI4 requirements.
run the following command to create a project:
composer create-project mihatori/ci-svelte-appstarter
- Copy
env
to.env
. - Run:
npm intall
to install node dependencies. - Run:
npm run dev
to serve your assets. - Now start you CI server:
php spark serve
or access it through you virtual host.
IMPORTANT:
after the installation, there will be no bundled assets, so make sure to run
npm run dev
to serve them or just build them withnpm run build
command.
This project uses CodeIgniter Vite package, read more about it.
Please feel free to open an issue and we will try to fix it on the fly.
Literally any help will be appreciated, feel free to use PRs, and thanks in advance.
MIT License © 2022 Mihatori Kei