mihatori/ci-svelte-appstarter

CodeIgniter4 + sveltejs starter app

v1.0.1 2022-07-31 11:04 UTC

This package is auto-updated.

Last update: 2024-04-29 04:41:20 UTC


README

ci-svelte.webp

CodeIgniter4 + Svelte Application Starter

68747470733a2f2f637573746f6d2d69636f6e2d6261646765732e6865726f6b756170702e636f6d2f6769746875622f762f72656c656173652f6669727461646f6b65692f63692d7376656c74652d617070737461727465723f6c6f676f3d746167 68747470733a2f2f6261646765732e686970746573742e636f6d2f7061636b61676973742f64742f6d696861746f72692f63692d7376656c74652d617070737461727465723f636f6c6f723d253233633730306666266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d253233633730306666 68747470733a2f2f637573746f6d2d69636f6e2d6261646765732e6865726f6b756170702e636f6d2f7061636b61676973742f6c2f6d696861746f72692f63692d7376656c74652d617070737461727465723f6c6f676f3d6c6177

💡 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: on-demand alternative to Tailwind, with bunch of additional cool features and much faster.
  • svelte-spa-router: A lightweight routing plugin.

Installation:

Make sure your server meets CI4 requirements.

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 package, read more about it.

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