Internal front-end framework for Immoweb.
- Clone the repo:
git@github.com:axel-springer-kugawana/iwb_serenity.git
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
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
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.
- Make sure you have node.js and npm installed.
- Run
npm install
to install Node.js dependencies. - Run
npm start
to compile CSS and JavaScript files, generate the docs, and watch for changes. - The doc is accessible in your browser at this url
http://localhost:8080
.
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).