Type
magento2-theme
Xtend theme for magento2
magento2-theme
MIT
None
None
None
None
None
You can install with one of the following:
* download: latest release
* clone: git clone https://github.com/minimit/xtend-magento.git
* composer: composer require minimit/xtend-magento
If you don't use composer, you need to install also Xtend library.
You need to copy xtend-magento /web to customize the files.
If you installed with composer:
mkdir -p app/design/frontend/<vendor>/<theme>/web/
cp -r vendor/minimit/xtend-magento/web/ app/design/frontend/<vendor>/<theme>/web/
You need to copy xtend-library /dist to customize the files.
If you installed with composer:
mkdir -p app/design/frontend/<vendor>/<theme>/web/xtend-library/
cp -r vendor/minimit/xtend-library/dist/ app/design/frontend/<vendor>/<theme>/web/xtend-library/
After in theme.less
put the right path to 'xtend-library/dist/'
in @xtend-dist.
Set grunt compilation for theme.less
. Add this code to dev/tools/grunt/configs/local-themes.js
:
'use strict';
module.exports = {
'<theme>': {
area: 'frontend',
name: '<vendor>/<theme>',
locale: 'en_US',
files: [
'css/theme'
],
dsl: 'less'
}
};
To compile run this command:
grunt exec:<theme> && grunt less:<theme> && grunt watch
Licensed under MIT license.