https://github.com/aggrosoft/oxid-template-compiler
Compile SCSS and Javascript files from Oxid Backend
https://github.com/aggrosoft/oxid-template-compiler
Last synced: 8 months ago
JSON representation
Compile SCSS and Javascript files from Oxid Backend
- Host: GitHub
- URL: https://github.com/aggrosoft/oxid-template-compiler
- Owner: aggrosoft
- License: mit
- Created: 2020-03-26T15:53:03.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-12T16:08:28.000Z (over 5 years ago)
- Last Synced: 2025-04-30T15:24:25.256Z (about 1 year ago)
- Language: PHP
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oxid-template-compiler
Compile SCSS and Javascript files from Oxid Backend
## Installation
### Using composer
Run the following command in your shop base folder (this is where composer.json is located)
```
composer require aggrosoft/oxid-template-compiler
```
## Prepare Template
You will need the development version of your the template to be able to build the assets. Wave and Flow themes
do not include their build folder by default. The module will show a button to do these steps for you, but this
will only work if you have git and nodejs. Also the server needs to allow the php exec function. If this does not work
follow the manual steps below.
### Automatic prepare
Click the "Initialize Development Version" Button in the template screen in oxid backend. This will try to pull a copy
of the assets from github and will run npm install in the template folder.
### Manual prepare
Execute the following steps, adjust according to your template. Below is for wave 1.2.0
```bash
git clone -b v1.2.0 https://github.com/OXID-eSales/wave-theme.git _theme
cp -r _theme/build/ Application/views/wave/
cp _theme/package.json Application/views/wave/
rm -rf _theme
cd Application/views/wave
npm install
```