https://github.com/mihatorikei/ci-svelte-appstarter
CodeIgniter 4 + Svelte App Starter
https://github.com/mihatorikei/ci-svelte-appstarter
codeigniter codeigniter4 spa svelte sveltejs
Last synced: 13 days ago
JSON representation
CodeIgniter 4 + Svelte App Starter
- Host: GitHub
- URL: https://github.com/mihatorikei/ci-svelte-appstarter
- Owner: mihatorikei
- License: mit
- Created: 2022-07-24T07:22:56.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-31T23:21:35.000Z (over 2 years ago)
- Last Synced: 2025-03-25T19:50:32.684Z (30 days ago)
- Topics: codeigniter, codeigniter4, spa, svelte, sveltejs
- Language: PHP
- Homepage:
- Size: 129 KB
- Stars: 18
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
CodeIgniter4 + Svelte Application Starter
## 💡 Features:
- âš¡ Super fast single page application (SPA).
- 🔥 Hot Module Replacment (HMR).
- 🧩 Easy to install and update.
- 🪓 Easy to customize.
- 🔧 Zero Configuarations.
- ✨ And much more...## Pre-packed:
> **Note:** none of these plugins or frameworks are required, feel free to remove or replace them as you like.
- [Windicss](https://windicss.org/): on-demand alternative to Tailwind, with bunch of additional cool features and much faster.
- [svelte-spa-router](https://github.com/ItalyPaleAle/svelte-spa-router): A lightweight routing plugin.## Installation:
> Make sure your server meets [CI4 requirements](https://www.codeigniter.com/user_guide/intro/requirements.html).
run the following command to create a project:
```
composer create-project mihatori/ci-svelte-appstarter
```## Setup
- 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 with `npm run build` command.## Customizing:
This project uses [**CodeIgniter Vite**](https://github.com/firtadokei/codeigniter-vitejs) package, [read more about it](https://github.com/firtadokei/codeigniter-vitejs).## Something doesn't work fine:
Please feel free to open an issue and we will try to fix it on the fly.## Contribuiting:
Literally any help will be appreciated, feel free to use PRs, and thanks in advance.## Licence
MIT License © 2022 [Mihatori Kei](https://github.com/firtadokei)