aggrosoft/oxid-template-compiler
Composer 安装命令:
composer require aggrosoft/oxid-template-compiler
包简介
Compile SCSS and JS Files through Oxid Admin Backend
README 文档
README
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
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
统计信息
- 总下载量: 115
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-03-27