Code Monkey home page Code Monkey logo

victor-hugo-styleguide's Introduction

Victor Hugo Based Styleguide

This is a boilerplate for using Victor Hugo as the foundation for a living styleguide that can then be imported via npm.

It's setup to use post-css and babel for CSS and JavaScript.

This project is released under the MIT license. Please make sure you understand its implications and guarantees.

Usage

Be sure that you have the latest node and npm installed

Next, clone this repository and run:

npm install
npm start

Then visit http://localhost:3000/ - BrowserSync will automatically reload CSS or refresh the page when stylesheets or content changes.

To build your static output to the /dist folder, use:

npm run build

Working on the styleguide

Each page in the styleguide is a markdown document in the folder site/content/styleguide.

Within the styleguide you can use the {{< example >}} shortcode to show your HTML snippets.

Header tags will automatically be used to build a table of contents for the page in the sidebar.

To work on the actual CSS edit src/css/main.css and any files imported there.

Deploying to netlify

Now netlify will build and deploy your site whenever you push to git.

Enjoy!!

victor-hugo-styleguide's People

Contributors

biilmann avatar calavera avatar joe6pack avatar

Stargazers

Felipe Monteiro avatar Giulia Nicole Pernice avatar Bud Parr avatar Stuart Stephens avatar  avatar Harry Cresswell avatar

Watchers

 avatar chris (fool) mccraw avatar James Cloos avatar  avatar

victor-hugo-styleguide's Issues

ReferenceError: code is not defined

After I run NPM Start this is what I get.

It seems like a basic syntax error that I don't have the patience to sit and debug.

ReferenceError: code is not defined at ChildProcess.<anonymous> (/home/footbllman62/Documents/programming/hugo/victor-hugo-styleguide/gulpfile.babel.js:57:5) at ChildProcess.emit (events.js:198:13) at maybeClose (internal/child_process.js:982:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.