Download the PHP package pixney/avviare-extension without Composer
On this page you can find all versions of the php package pixney/avviare-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package avviare-extension
About
Tailwind and Bootstrap theme setup generator for Pyrocms.
I have written this extension simply to help myself get started more quickly and in a way i prefer to have things setup myself.
If you like it you are free to use it.
How to use it
Install pyro cms
For more information, see PyroCMS documentation
Install Avviare
Add the pixney repository to your composer.
Require it:
Create a theme
Run the following command to generate the theme.
Example: pixney.theme.mytheme
SVG Spitemaps (svg-spritemap-webpack-plugin)
If you use svgs, it's a recommended to create a svg sprite. After you have run npm install
you simply place your svgs in resources/svgs
and when you run npm run watch/production
this plugin will create the svg sprite map for you.
Using an svg within twig files
Include the spritemap in your view:
To display the svg :
Use Browsersync
Within the webpack.mix.js file, set the proxy and files to watch for:
If you don't want to use svg sprite plugin or browsersync, simply comment out or remove the reference within webpack.mix.js
Styling
Simple styling, just remove it and make your own..
After install
Run npm install
from the root directory (basepath) to install all the dependencies specified in your package.json
file.
At the end run npm run watch
to transpile/compile everything.
Make sure you are using the theme.
Either to to display->settings within the admin to activate your theme or in your .env file specify:
STANDARD_THEME=mycompany.theme.themename
Change the Open Graph and Favicon images
Within your theme directory, you want to change the images placed within resources/images
. You can change it's location as well, but if you do make sure you update metadata.twig.