Giter Club home page Giter Club logo

vigilo-webapp's Introduction

vigilo-webapp

Build Status

Let's go!

docker-compose up

et aller sur http://127.0.0.1

Touche CTRL+C pour arrêter et docker-compose down && sudo rm -rf node_modules dist package-lock.json pour nettoyer.

Comment écrire ?

Du HTML

A priori, il n'y a qu'une seule page, qui est src/index.html. Celle-ci ne fait appel qu'au javascript. Le CSS est chargé par le JS.

Du JS

Le fichier principal est src/js/main.js. Ce fichier fait appel au CSS et aux sous-modules JS. Tout sous-module doit être inclus dans ce fichier par l'instruction import ./submodule.js.

Pour importer un librairie installée via npm, il suffit d'écrire import NOM sans le ./.

Du CSS

Le fichier principal est src/css/main.scss. Ce fichier peut contenir du CSS classique ou du SASS. Pour faire appel à un sous-module, utiliser l'instruction @import './submain.scss' Pour inclure un CSS d'un module installé avec npm, on ajoutera un tilde : @import "~bootswatch/dist/yeti/variables"

Installer un module avec npm

Pour trouver un module, on peut se rendre sur npmjs.com.

Pour l'installer docker-compose exec webpack npm install --save leaflet

vigilo-webapp's People

Contributors

tcoupin avatar bagage avatar

Watchers

James Cloos avatar

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.