Wprowadzenie

....

Setting Up

First of all you need Node.js to get started. You can download it here

Once Node.js is installed, open Terminal and run npm install to install all of GO dependencies. New folder node_modules will be created automaticaly.

npm install

Now you're ready to start building new pages. All you have to do is run gulp in Terminal. This will track all the sass file changes and start a local webserver at http://localhost:3000

gulp

While Gulp is running, Files in the pages, scss and js folders are monitored for changes, which will inject updated CSS or cause a refresh in Browsersync.

Hit Ctrl+C or just close the command line window to stop the server.

Starter Template

This basic template is a guideline for how to structure your pages when building with our theme. Included below are all the necessary bits for using the theme’s CSS and JS.

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <title>Hello World</title>

    <!-- css -->
    <link rel="stylesheet" href="assets/css/vendor.css" />
    <link rel="stylesheet" href="assets/css/style.css" />
  </head>
  <body>


    <!-- js -->
    <script src="assets/js/vendor.js"></script>
    <script src="assets/js/app.js"></script>
  </body>
</html>