Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.09 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.09 KB

Bootstrap-xlwings

Bootstrap-xlwings is a Bootstrap theme made for Office.js add-ins in Excel. It's in an early stage.

How to use

In your HTML file, add the following in the <head> section (check the Release page for older versions):

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/xlwings/[email protected]/dist/bootstrap-xlwings.min.css">

If you don't want to use a CDN, you can also download the files from the dist directory and reference bootstrap-xlwings.min.css locally.

Versioning

The number before the dash corresponds to the bootstrap version, and the version after the dash corresponds to the build number of the theme.

Development

Install Node.js (comes with npm). From the root of this directory, run:

npm install
npm start

Then open http://localhost:1234 to see the example page. Changes to bootstrap-xlwings.scss will be hot-reloaded.

Production build

To build the production CSS file, update the version numbers in build.py and run (this requires Python):

python build.py

See also: https://github.com/twbs/examples