Repository navigation
v0.1.1
v0.1.1 switches
@routup/docs-themeto compiled distribution files. These notes cover the changes since v0.1.0.
👀 Highlights
📦 Compiled theme, configuration and named exports
The package now ships compiled ES modules and type declarations in dist/, rather than Vue and TypeScript source. Your site no longer needs to compile the theme's Vue components. The @routup/docs-theme/config entry stays plain JavaScript so Node can load it from node_modules.
You can also import components and helpers directly from the package root:
import { RtButton } from '@routup/docs-theme';The theme still loads its CSS automatically, and @routup/docs-theme/style.css remains available. Stylesheets stay separate from the JavaScript so your site's Vite resolves the fontsource imports.
⚠️ Heads-Up Before Upgrading
| Change | What to do |
|---|---|
The ./components/* subpath export is removed. |
If you used it from a checkout, switch to named imports such as import { RtButton } from '@routup/docs-theme'. |
| Only build output is published. | Use the public theme, config and stylesheet entries instead of paths into src/. |
⬆️ Upgrading
npm install @routup/docs-theme@0.1.1Requirements remain Node.js 22 or later, VitePress ^1.6.0 and Vue ^3.5.0.