Skip to content

inspire-js/demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inspirejs.org

The inspirejs.org website — the introductory Inspire.js demo deck (index.html) plus the default theme (theme.css + style/). The theme lives here for now.

Develop

Dependencies (the core engine + plugins) are resolved with nudeps — no bundler, no build:

npm install        # installs deps + generates the import map via nudeps hooks
npx serve .        # or any static server

index.html loads the generated import map, then loads inspire.js, which imports the core and plugins by bare specifier:

<script src="importmap.js"></script>
<link href="client_modules/@inspirejs/core/inspire.css" rel="stylesheet" />
<link href="theme.css" rel="stylesheet" />
...
<script type="module" src="inspire.js"></script>
// inspire.js
import "@inspirejs/core";
import "@inspirejs/plugins";

Deploy

Deployed to inspirejs.org via Netlify. The prepare hook runs nudeps on install, copying deps into client_modules/ and generating importmap.js. _redirects keeps legacy absolute URLs (/inspire.mjs, /inspire.css, /src/*, /plugins/*) resolving to their new client_modules locations.

Theme

The default theme is theme.css, which imports style/ (base, partials, components). Copy these into your own deck to reuse the look, or write your own.

License

MIT © Lea Verou and contributors

About

The inspirejs.org website / demo deck, plus the default Inspire.js theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors