Skip to content

widop/iwb-serenity

 
 

Repository files navigation

iwb_serenity

Internal front-end framework for Immoweb.

Read the Serenity docs

Table of contents

Quick start

Dev

Compile CSS (include lint, scss compilation, autoprefixer and minification)

    npm run css

For development purpose (Watch scss files change and launch compilation)

    npm run watch:css

File Structure

Source files are saved inside /src folder. Compiled files are saved inside /dist folder.

iwb_serenity/
├── dist/
│   ├── css/
│   │   ├── serenity.css
│   │   ├── serenity.css.map
│   │   ├── serenity.min.css
│   │   └── serenity.min.css.map
└───┴── src/
        └── scss/
            ├── utils/
            │   └── ...
            └── serenity.scss

Documentation

Serenity documentation, included in this repo inside the /docs folder, is built with Vue Press and publicly hosted on GitHub Pages. The docs may also be run locally.

Running documentation locally

  1. Make sure you have node.js and npm installed.
  2. Run npm install to install Node.js dependencies.
  3. Run npm start to compile CSS and JavaScript files, generate the docs, and watch for changes.
  4. The doc is accessible in your browser at this url http://localhost:8080.

Deploy documentation

To deploy the documentation on Github Pages, run deploy.sh script (It may ask your credential). It will generate the build of the documentation and push it on the gh-pages branch (use by github to display the documentation page).

About

Immoweb's front-end framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 75.3%
  • Vue 21.2%
  • JavaScript 2.9%
  • Shell 0.6%