You may skip this section if you don't want Gulp in your project. Please use quickstart/
directory in your project.
You can use Gulp for Automate and enhance your project workflow.
Gulp is a toolkit for automating painful or time-consuming tasks in your project development workflow, so you can stop messing around and build something easier than ever.
Use Gulp in Nextro is for build different layouts and theme customization with lots of useful tasks like Image Optimization, SaSS compile
etc...which really useful to build the production ready dist/
directory.
Gulp Command | Description |
---|---|
gulp |
which build template in /dist directory |
Gulp Command | Description |
---|---|
gulp sass |
which compile .scss files from /src/assets/scss directory and place it into a /dist/assets/css directory |
gulp imgmin |
which use to optimize images from /src/assets/images directory and place it into a /dist/assets/images directory |
gulp build |
which use to copy files from /src/assets directory and place it into a /dist/assets directory |
gulp build-html |
which use compile your html file from /src/html directory and place it into a /dist directory |
gulp build-js |
which use to build .js files from /src/assets/js directory and place it into a /dist/assets/js directory |
gulp watch |
It will automatically start your build process if you make any changes in html,scss,js file from /src directory and put new changes to /dist
directory |
gulp watch-minify |
It will automatically start your build process if you make any changes in html,scss,js file from /src directory and put new changes to /dist
directory with minify assets |
Gulp Command | Description |
---|---|
mincss |
which minify all css in /dist/assets/css directory |
uglify |
which minify all javascript in /dist/assets/js directory |
htmlmin |
which minify all html in /dist directory |
Nextro/
├── src/
│ ├── assets/
│ ├── html/
├── .babelrc
├── gulpfile.js
├── package.json
to change header content just open src/html/layouts/header-content.html
and change the file as you want.
to change header content just open src/html/layouts/menu-list.html
and change the file as you want.
This snippet contains to a HTML file to create vertical layout.
@@include('./layouts/layout-vertical.html')
This snippet contains to a HTML file to create collapse layout.
@@include('./layouts/layout-collapse.html')
add .pc-horizontal
in <body>
tag to to create Horizontal layout.
add .bg-dark
in <header>
tag.
replace <nav>
wich given balow.
add hole content of page in .container
This snippet contains to a HTML file to create horizontal layout.
@@include('./layouts/layout-horizontal.html')
add .modern-layout
in <body>
tag to to create modern layout.
add .bg-dark
in <header>
tag.
remove logo section from navbar and add it in <header>
wich given balow.
This snippet contains to a HTML file to create modern layout.
@@include('./layouts/layout-modern.html')
add .advance-layout
in <body>
tag to to create advance layout.
add .bg-primary
in <header>
tag.
remove logo section from navbar and add it in <header>
wich given balow.
This snippet contains to a HTML file to create advance layout.
@@include('./layouts/layout-advance.html')
add .pc-horizontal
and .layout-topbar
in <body>
tag to to create topbar layout.
remove logo section from navbar and add it in <header>
wich given balow.
This snippet contains to a HTML file to create horizontal layout.
@@include('./layouts/layout-horizontal.html')
add .tab-layout
in <body>
tag to to create tab layout.
replace hole <nav>
content which given below
This snippet contains to a HTML file to create tab layout.
@@include('./layouts/layout-tab.html')
Changes tha given code in particular layout file wich you want to use
add bg-primary
class in <header>
add bg-danger
class in <header>
add bg-warning
class in <header>
add bg-info
class in <header>
add bg-success
class in <header>
Changes tha given code in particular layout file wich you want to use
add bg-primary
class in .m-header
to set Blue color in Menu brand
add bg-danger
class in .m-header
to set Red color in Menu brand
add bg-warning
class in .m-header
to set Yellow color in Menu brand
add bg-info
class in .m-header
to set cyan color in Menu brand
add bg-success
class in .m-header
to set success color in Menu brand
Changes tha given code in particular layout file wich you want to use
add light-sidebar
class in .pc-sidebar
to set Light color in Sidemenu
<nav class="pc-sidebar light-sidebar">
</nav>