Themes Coder Kundol HTMLDocs
Getting started

Installation

The pages work as they are: open src/index.html in a browser, or upload the src/ folder to your host. You only need the steps below if you want to edit the Sass files and recompile the CSS.

Open the template without a build#

  1. Unzip the download.
  2. Open website-admin-vendor-source/src/index.html in your browser. The admin panel starts at src/admin/index.html and the vendor dashboard at src/vendor/index.html.
  3. To publish, upload the contents of src/ to your web host's public folder.

The compiled CSS is already in the package (src/css/, src/admin/assets/css/), so nothing else is needed.

Set up the Sass build#

The build uses Gulp to compile Sass and runs a local server that reloads when you save.

  1. Download and install Node.js.

  2. Open a terminal and go to the source folder:

    cd website-admin-vendor-source
    
  3. Install Gulp's command-line tool globally. If you installed the old global gulp package before, remove it first so the two don't collide:

    npm rm --global gulp
    npm install --global gulp-cli
    gulp --version
    
  4. Install the project's packages:

    npm install
    

The build uses node-sass 7, which supports Node.js up to version 17. If npm install fails while building node-sass, switch to Node.js 16 (for example with nvm) and run it again.

Run the development server#

gulp watch

This compiles the Sass once, opens the site from src/ in your browser (Browsersync, usually at http://localhost:3000), and keeps running. Every time you save a .scss file it recompiles and reloads the page:

You editIt writes
src/scss/**/*.scsssrc/css/ (storefront)
src/admin/assets/scss/**/*.scsssrc/admin/assets/css/ (admin panel)

Saving an HTML file in src/ reloads the browser too. Press Ctrl+C to stop.

There is no separate production build: gulp watch (or gulp sass for a single compile without the server) writes the final CSS straight into src/. Upload src/ when you're done.