sc-npm-packages - @sxa/celt 10.3.0
> npm install @sxa/celt@10.3.0
Boilerplate for creating new theme for you Sitecore site.
For using Autosynchronizer, you need to complete next steps:
Download theme boilerplate;
Open PathToInstance/Website/App_Config/Include/z.Feature.Overrides (in previous version of Sitecore it can be PathToInstance/Website/App_Config/Include/Feature) folder and remove .disabled from z.SPE.Sync.Enabler.Gulp.config.disabled file;
Switch to downloaded theme boilerplate folder
Update config file for Gulp tasks. ThemeRoot/gulp/config.js file:
serverOptions.server
- path to sitecore instance. Exampleserver: 'http://sxa'
;
If you use Creative exchange skip this step. Open ThemeRoot/gulp/serverConfig.json
serverOptions.projectPath
- path to project, where theme placed. ExampleprojectPath: '/themes'
;serverOptions.themePath
- path to basic theme folder from project root. ExamplethemePath: '/Basic2'
;
Open Theme root folder with command line.
Run
npm install
(node.js and npm should be already installed);If gulp is not yet installed - Install gulp using following command:
npm install --global gulp-cli
Run gulp task which you need:
Global tasks:gulp default
or justgulp
- startsgulp all-watch
.gulp all-watch
- run a list of tasks:
sass-watch
js-watch
es-watch
css-watch
img-watch
watch-source-sass
html-watch
watch-scriban
For SASS
gulp sass-watch
- run a list of tasks:watch-component
watch-base
watch-styles
watch-dependency
gulp sassComponents
- to compile sass styles just for components;gulp sassStyles
- to compile sass additional styles for component;gulp watch-styles
- watch changes under sass/styles/common , sass/styles/content-alignment , sass/styles/layout folders and compile all of them to styles/styles.css;gulp watch-base
- watch on changes under sass/abstracts/, sass/base/ , sass/components folders and run compiling of components and styles;gulp watch-component
- watch changes of component styles under sass folder and compile them to styles folder;gulp watch-dependency
- watch changes under sass/styles/ (exluded sass/styles/common , sass/styles/content-alignment , sass/styles/layout) and compile appropriate component;
For CSS
gulp css-watch
- watch on changes of css files under stytles folder and upload them to server;
For JavaScript:
gulp eslint
- run eslint for all js in scripts folder;gulp js-watch
- watch on changes of js files under scripts folder and upload them to server;gulp es-watch
- watch on changes of ES6+ js files under sources folder and upload them to server;
For HTML (if you work with creative exchange)
gulp html-watch
- watch changes of html files and upload them to the server;
For Gulp files
gulp watch-gulp
- watch on changes of js and json files under gulp folder and upload them to server;
For Images
gulp img-watch
- watch on changes under images folder and upload files to server;
For Sprite
gulp spriteFlag
- to create sprite for flags;
For Scriban files
gulp watch-scriban
- watch changes of scriban files and upload them to the server.
When watcher starts you need to enter you login and password for sitecore, for uploading reason.
Owners |
|
AuthorsSitecore Corporation A/S |
|
Project URLhttps://doc.sitecore.com/xp/en/developers/sxa/103/sitecore-experience-accelerator/modify-your-site-design-with-creative-exchange-live.html |
|
Licensehttps://doc.sitecore.net/~/media/C23E989268EC4FA588108F839675A5B6.pdf |
|
KeywordsCELT, SXA, Creative Exchange Live, Sitecore Experience Accelerator, Gulp, dist-tag:latest |
|
Info131177 total downloads |
|
29552 downloads for version 10.3.0 | |
Download (11.64 KB) | |
Dependencies@babel/cli@^7.17.6, @babel/core@^7.17.9, @babel/plugin-transform-runtime@^7.17.0, @babel/polyfill@^7.8.7, @rollup/plugin-babel@^5.3.1, @rollup/plugin-commonjs@^21.1.0, @rollup/plugin-node-resolve@^13.2.1, colors@^1.4.0, docdash@1.2.0, execa@^5.1.1, gulp@^4.0.2, gulp-autoprefixer@^8.0.0, gulp-babel@^8.0.0, gulp-best-rollup-2@^5.0.3, gulp-clean-css@^4.3.0, gulp-cli@^2.2.0, gulp-concat@^2.6.1, gulp-debug@^4.0.0, gulp-eslint@^6.0.0, gulp-filter@^7.0.0, gulp-if@^3.0.0, gulp-prompt@^1.2.0, gulp-rename@^2.0.0, gulp-sass@^5.0.0, gulp-sass-bulk-import@^1.0.1, gulp-sass-grapher@^1.0.0, gulp-sourcemaps@^3.0.0, gulp-uglify-es@^3.0.0, gulp-upload@^1.0.0, gulp-watch@^5.0.1, gulp.spritesmith@^6.11.0, inquirer@^8.2.2, jsdoc@^3.6.10, node-sass@^7.0.1, path@^0.12.7, request@^2.88.2, rimraf@^3.0.2, rollup@^2.70.2, rollup-plugin-node-builtins@^2.1.2, vinyl-file@^3.0.0 |
|
Dependencies (dev)gulp-sass-bulk-importer@^3.0.1, gulp-tap@^2.0.0 |
Package history
Version | Size | Last updated | Downloads | Mirrored? | |||
---|---|---|---|---|---|---|---|
10.3.0 | 11.64 KB | Tue, 07 Feb 2023 09:28:51 GMT | 29552 | ||||
10.2.3 | 11.71 KB | Tue, 07 Feb 2023 09:18:57 GMT | 4950 | ||||
10.2.2 | 11.61 KB | Thu, 18 Nov 2021 09:39:55 GMT | 34414 | ||||
10.2.1 | 11.62 KB | Tue, 09 Nov 2021 15:06:41 GMT | 907 | ||||
10.2.0 | 11.84 KB | Fri, 05 Nov 2021 09:20:58 GMT | 197 | ||||
10.1.0 | 10.63 KB | Thu, 25 Feb 2021 13:11:31 GMT | 27145 | ||||
10.0.0 | 10.64 KB | Tue, 04 Aug 2020 13:50:49 GMT | 24045 | ||||
1.0.3 | 9.77 KB | Wed, 10 Jun 2020 08:41:51 GMT | 4550 | ||||
1.0.2 | 9.77 KB | Mon, 10 Feb 2020 09:44:22 GMT | 1045 | ||||
1.0.1 | 9.69 KB | Thu, 28 Nov 2019 14:51:56 GMT | 4372 |