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.
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 serverindex.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";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.
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.
MIT © Lea Verou and contributors