Download the PHP package smonist/craft-vite-starter without Composer
On this page you can find all versions of the php package smonist/craft-vite-starter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package craft-vite-starter
What if tooling was done with 1 command?
Craft CMS 5 infused with Vite, TypeScript and WindiCSS.
Lightning fast development, HMR and a production ready build process.
Turbostart 🚀
Quickstart
mkdir my-project && cd my-project
ddev config --project-type=craftcms --docroot=web
ddev composer create -y szenario-fordesigners/craft-vite-starter
make install
make dev
Tech Stack
Requirements
- DDEV
- Unix-based OS (MacOS, Linux)
If you are on Windows
Use WSL2 and follow the instructions for Unix-based OS. DDEV Documentation is a great starting point.
Commands
make install
- patches the DDEV craft config and installs Craft CMS. Should only be used as a first time setup.make dev
- starts the development servermake build
- bundles the assets for production
Subsequent Use
ddev yarn
- for managing frontend packagesddev composer
- for managing backend packagesddev craft
- exposes the Craft CLI
Critical CSS
To use Critical CSS, you need to manually add the pages that should be pre-rendered to the criticalPages
array in vite.config.ts
. The pages will be pre-rendered when building and the generated CSS will be inlined in the HTML.
Credits
This repository is based on the official Craft CMS starter template.
Thanks to Andrew Welch for the great craft-vite plugin!
Contributors
Simon Wesp 💻 |
Thomas Bendl 💻 |
Esteban Castro 💻 |
All versions of craft-vite-starter with dependencies
PHP Build Version
Package Version
Requires
craftcms/ckeditor Version
4.5.0
craftcms/cms Version 5.6.4
nystudio107/craft-vite Version 5.0.1
vlucas/phpdotenv Version 5.6.1
craftcms/cms Version 5.6.4
nystudio107/craft-vite Version 5.0.1
vlucas/phpdotenv Version 5.6.1
The package smonist/craft-vite-starter contains the following files
Loading the files please wait ....