├── CHANGELOG.md └── README.md /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Craft Vite Buildchain 2 | 3 | ## 1.0.0 - UNRELEASED 4 | ### Added 5 | * Initial release 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nystudio107/craft-plugin-vite-buildchain/badges/quality-score.png?b=v1)](https://scrutinizer-ci.com/g/nystudio107/craft-plugin-vite-buildchain/?branch=v1) [![Code Coverage](https://scrutinizer-ci.com/g/nystudio107/craft-plugin-vite-buildchain/badges/coverage.png?b=v1)](https://scrutinizer-ci.com/g/nystudio107/craft-plugin-vite-buildchain/?branch=v1) [![Build Status](https://scrutinizer-ci.com/g/nystudio107/craft-plugin-vite-buildchain/badges/build.png?b=v1)](https://scrutinizer-ci.com/g/nystudio107/craft-plugin-vite-buildchain/build-status/v1) [![Code Intelligence Status](https://scrutinizer-ci.com/g/nystudio107/craft-plugin-vite-buildchain/badges/code-intelligence.svg?b=v1)](https://scrutinizer-ci.com/code-intelligence) 2 | 3 | # Craft Vite Buildchain 4 | 5 | Related Articles: 6 | 7 | [Vite.js Next Generation Frontend Tooling + Craft CMS](https://nystudio107.com/blog/using-vite-js-next-generation-frontend-tooling-with-craft-cms) 8 | 9 | ## Requirements 10 | 11 | * Any version of Craft CMS 12 | 13 | ## Installation 14 | 15 | Clone this repo, and then copy the contents (including the hidden `.gitignore` file) into the root directory of your Craft CMS project via: 16 | 17 | ``` 18 | git clone https://github.com/nystudio107/craft-vite-buildchain.git 19 | ``` 20 | 21 | It's done this way as a "starter" rather than as a package, because every Craft CMS project will make bespoke changes to it. 22 | 23 | **N.B.:** If you won't be using this buildchain with the [plugindev](https://github.com/nystudio107/plugindev) local development environment, you'll need to delete this line from the `Makefile`: 24 | ``` 25 | --network craftproject_default \ 26 | ``` 27 | ...so that it won't be looking for the `craftproject_default` Docker network. 28 | 29 | ## Craft Vite Buildchain Overview 30 | 31 | Craft Vite Buildchain is a drop-in buildchain you can use in your Craft CMS projects, giving you Hot Module Replacement, Tailwind CSS, and optimized production builds. 32 | 33 | Brought to you by [nystudio107](https://nystudio107.com) 34 | --------------------------------------------------------------------------------