Skip to content

AreaFiftyLAN/LANcie-legacy

Repository files navigation

Installation of LANcie repo

Prep install + path

  • Git - Als je dit nog niet geinstalleerd hebt...
  • Node.js - Kies de juiste versie en installeren
  • Python - Voor het runnen van de server heb je version 2.7.0 of hoger nodig
  • Ruby 2.7 - Is nodig voor het installeren en compilen van Sass.
  • Sass - gem install sass or gem source -a http://rubygems.org/ && gem install sass
  • Gulp - [requires nodejs] npm install -g gulp
  • Bower - [requires nodejs] npm install -g bower

Cloning and first time serve

git clone [email protected]:WISVCH/LANcie.git  
cd LANcie

npm install   
bower install  

gulp serve 

Local server

gulp serve 

Know Errors + solution

  1. Readable-stream error:
    npm install --save readable-stream

  2. SyntaxError: missing } after function body on FF [pull requests aangevraagd]

open core-layout-trbl.html
[rgl 157] change <body> to body

open core-dropdown.html
[rgl 109] change <html> to html
[rgl 111] change <body> to body

Create new element

  1. Create a folder in /lib/.components/ starting with lancie-
  2. Comming soon...

Google Analytics

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-60209049-1', 'auto');
  ga('send', 'pageview');
</script>