Skip to content

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

License

Notifications You must be signed in to change notification settings

chkilel/vitewindmanager-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages