Template documentation version 2.0
First of all, Thank you so much for purchasing this template and for being my loyal customer.
This documentation is to help you regarding each step of customization. Please go through the documentation carefully to understand how this template is made and how to edit this properly. Basic HTML and CSS knowledge is required to customize this template. You may learn basics here, here and here.
Get details about Requirements, Basic Installation, Structure, Color mode, Logo, favicon and loader setup your project with easy steps.
This template have required 1 depandency
Here is the general File structure of the template:
Steps to be follow for getting started with the template:
cd CODE-VUE
npm install
npm run serve
npm run build
There are some customization like change color, logo, loader, favicon, default mode (dark or light) etc...
Here is the Change color mode Dark/Light in Vue
Goto src/store/index.js and dark mode change the dark variable
"dark": trueFor Light mode
"dark": false
Favicon is an icon associated with the URL that is displayed at various places, such as in a browser’s address bar or next to the site name in a bookmark list.
You can add a Favicon to your Website using the following code:
In Vue version favicon change with this way
Page Loading Transitions are enabled by default. If you wish to disable the page loading transition you can simply remove loader from respective layout in layouts folder
or
simply remove loader component folder inside components
In Vue loader change with 2 diffrant way
The Logo Container can be found in the HeaderStyle in components/patials/backend/HeaderStyle - #header. Replace "logo.png" with your own logo image URL.
In Vue version logo change with this way
In Vue version change with scss file.
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500&display=swap") @import ("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;1,200;1,300;1,400;1,600&display=swap")
$font-family-title: 'Roboto', sans-serif; $font-family-base: 'Nunito', sans-serif;
Here is the layout and routing configure
{ path: '/', name: '', component: Layout1, children: childRoute() },
Router url configure
simply replace layout of component: Layout1 with Layout2 or different layout to change layout in index.js
{ path: '', name: 'layout-2', component: Layout2, children: [ { path: '/dashboard-2', name: 'layout.dashboard2', meta: { name: 'Dashbord2' }, component: Dashbord2 }, ] }, { path: '', name: 'layout-3', component: Layout3, children: [ { path: '/dashboard-3', name: 'layout.dashboard3', meta: { name: 'Dashbord3' }, component: Dashbord3 }, ] },
Here is the sidebar object example just you can copy and past and rename then title and icon.
{ "name": "home", "title": "Dashboards", "short_title": "Home", "href": "backend/index", "link": { "name": "" }, "class_name": "", "icon_class": "las la-home iq-arrow-left", "expanded_icon_class": "las la-angle-down iq-arrow-right arrow-hover", "collapse_icon_class": "las la-angle-right iq-arrow-right arrow-active", "children": [ { "name": "dashboard-1", "title": "Dashboard 1", "icon_class": "lab la-blogger-b", "href": "backend/dashboard-1", "link": { "name": "layout.dashboard1" } } }
Sidebar based on json and check the file in spacific path ./src/jsonData/Sidebar.json and import or add your array to sidebar key.
<template> <div> <Loader/> <div class="wrapper"> <SidebarStyle :items="sidebarItems" /> <HeaderStyle1/> <div class="content-page"> <transition name="router-anim"> <router-view/> </transition> </div> </div> <FooterStyle /> </div> </template>
import sideBarItem from "@/JsonData/sidebar.json" data () { return { sidebarItems:sideBarItem } }
We have build different types of custom card components. And these are the some prop and slots
<card body-class="border text-center" class="bg-primary text-white"> <template v-slot:headerTitle> <h4>Card Title</h4> </template> <template v-slot:body> <p >lorium ipsum</b-button> </template> <template v-slot:footer> <b-button variant="danger">Button</b-button> </template> </card>
Prop is set the attriblute for the component.
Name | Detail |
---|---|
headerClass | Class added in card header div |
bodyClass | Class added in card body div |
footerClass | Class added in card footer div |
Slot is set of the content between opening and closing tag.
Name | Detail |
---|---|
headerTitle | For card top left icon or title |
headerAction | For card top right icon or title |
body | For card body to add with padding |
default | For without padding added content |
<AmChart :element="item.type" :type="item.type" :option="item.bodyData"/>
Prop is set the attriblute for the component.
Name | Type | Detail |
---|---|---|
element | String | element is identify the unique div element like id |
type | String | Difftrent type of chart set by type |
option | Object | Chart data and setting by option object |
Types of Am Chart
Slot is set of the content between opening and closing tag.
<ApexChart element="chart" :chartOption="option"/>
Prop is set the attriblute for the component.
Name | Type | Detail |
---|---|---|
element | String | element is identify the unique div element like id |
chartOption | Object | Set Chart option |
Slot is set of the content between opening and closing tag.
<HighChart :ref="item.type" :option="item.bodyData"/>
Prop is set the attriblute for the component.
Name | Type | Detail |
---|---|---|
ref | String | element is identify the unique div element like id |
option | Object | Set Chart option |
We have build custom tab components. And these are the some prop and slots
<tab-nav :tabs="true" id="myTab-1"> <tab-nav-items :active="true" id="home-tab" ariaControls="home" role="tab" :ariaSelected="true" title="Home" /> <tab-nav-items :active="false" id="profile-tab" ariaControls="profile" role="tab" :ariaSelected="false" title="Profile" /> <tab-nav-items :active="false" id="contact-tab" ariaControls="contact" role="tab" :ariaSelected="false" title="Contact" /> </tab-nav> <tab-content id="myTabContent"> <tab-content-item :active="true" id="home" aria-labelled-by="home-tab"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p> </tab-content-item> <tab-content-item :active="false" id="profile" aria-labelled-by="profile-tab"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p> </tab-content-item> <tab-content-item :active="false" id="contact" aria-labelled-by="contact-tab"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p> </tab-content-item> </tab-content>
Prop is set the attriblute for the component.
Name | Type | Detail |
---|---|---|
id | String | identify the tab content for navigate |
active | Boolean | CSS class (or classes) to apply to the currently active tab |
ariaControls | String | The aria-controls attribute creates a cause and effect relationship |
ariaSelected | Boolean | This attribute is used with single-selection and multiple-selection widgets |
dataToggle | String | The toggle tells Bootstrap what to do and the target tells |
href | String | Set navigation link |
title | String | Pass Title as a string or set html content via slot |
liClass | String | - |
Slot is set of the content between opening and closing tag.
Name | Detail |
---|---|
title | For tab nav item content any html content or image by using slot |
Prop is set the attriblute for the component.
Name | Type | Detail |
---|---|---|
id | String | id for identify the tab content to nav tab |
Prop is set the attriblute for the component.
Name | Type | Detail |
---|---|---|
id | String | identify the tab content for navigate |
active | Boolean | CSS class (or classes) to apply to the currently active tab |
ariaLabelledBy | String | Identifies the element (or elements) that labels the current element. |
We have build progressbar components. And these are the some prop
<div :class="`iq-progress-bar bg-${colorName}-light ${verticle ? 'progress-bar-vertical bg-'+colorName : '-light'}`"> <span :class="`bg-${color}`+' '+midclass" ref="progress" style="transition: 'width 2s ease 0s " :data-value="value"> <slot name="text"/> </span> </div>
Prop is set the attriblute for the component.
Name | Type | Detail |
---|---|---|
colorName | String | Pass Background color of Progressbar components |
color | String | Pass color of Progressbar components |
verticle | Boolean | Pass alignment of Progressbar components |
You can add this helper class to set section padding top 100px and padding bottom 100px.
Add overview-block-ptb class in section tag. See example below:
<section class="... overview-block-ptb"> [YOUR CONTENT]</section>
Note Use this helper class to maintain all page section spacing. You can also use overview-block-pt for only padding top and overview-block-pb for only padding bottom.
You can use color in the Text. simply add .main-color ( or any color you want) class where you want to use. See example below:
<div class="text-primary"> [YOUR TEXT CONTENT] </div>
Note We include 4 color helper class in our template text-gray, text-black, main-color and text-white. you can add unlimited color class according to your needs.
You can use color in the background. simply add .white-bg (or any color you want) class where you want to use. See example below:
<div class="bg-primary"> [YOUR CONTENT] </div>
Note We include 4 color helper class in our template text-gray, text-black, main-color and text-white. you can add unlimited color class according to your needs.
You can use an image in the background with parallax effect by simply adding InlineStyle in div tag and by use of this you can create your own background. See example below:
<div style="background:url(${require(path)}); "> [YOUR CONTENT] </div>
If your background is small and you want to use repeated background then use styling property background-repeat and set the value repeat or no-repeat. See the example below:
<div style="background:url(${require(path)}); background-repeat:no-repeat;"> [YOUR CONTENT] </div>
If you want to use your background like cover or cointainer. You just need to add styling property background-size and set the value cover or cointainer. see the example below:
<div style="background:url(${require(path)}); background-size:cover;"> [YOUR CONTENT] </div>
You can use these .iq-over-black-30, .iq-over-white-20, .iq-over-green-90 classes to any element in your HTML code to apply overlay color on any image or section. See example below:
<div class="iq-over-black-80"> [YOUR CONTENT] </div>
Structure: .iq-over-{color}-{opacity}. For Example, .iq-over-black-80
All images and videos are for preview purposes only and are not included in the download files. Images are of copyrights under Creative Commons CC0.
Code released under the themeforst Reguler License and Extended License.
For more information about copyright and license check iqonic.design.