chkilel / vitewindmanager-plugin

Assets Manager for "Vitewind" Theme, will inject CSS and JS assets for "Vitewind" theme to work properly with viteJS in development and production

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vitewind Manager plugin

💨Windi CSS and ⚡️Vite, for 🍂OctoberCMS & ❄️WinterCMS

Vite Vite

Introduction

This is a helper plugin for 💨Vitewind theme, don't install it if you don't use Vitewind theme

Installation

Go to your backend to Settings > System > Updates & Plugins and install the plugin Chkilel.VitewindManager (just copy & paste the PluginID below and put it in the search box.)

Theme settings

Go to your backend to Settings > Vitewind theme, and configure the following settings:

Setting Vitewind

    Environment:
        - Use `.env` configuration : will use the `APP_ENV` value in the .env file
        - Development
        - Production

    Port number : Enter the port on which the theme dev server is running (when you run `npm run dev`)

    Theme: choose the appropiate theme, for example if you renamed the theme folder

Layout component

The Vitewind Manager plugin register a layout component to inject JS and CSS assets, manage hot reload in Development and inject built assets in production.

Layout component

Put the component in every layout and set the JS files you need to load for that layout.

Layout component settings

Theme License

MIT License - check out LICENSE file for MIT license details.

Changelog

1.0.0 : initial release

  • Vitewind: the magic of Windi CSS and the speed of Vite JS

About

Assets Manager for "Vitewind" Theme, will inject CSS and JS assets for "Vitewind" theme to work properly with viteJS in development and production

License:MIT License


Languages

Language:PHP 100.0%