El buen gusto, no cuesta más.Una misma identidad. Muchas formas de llegar a casa.Base · v0.2.0

Paquete · @casaelida/vue 0.5.0

Un archivo fijado.
Toda la base dentro.

Las aplicaciones Vue 3 instalan @casaelida/vue desde un archivo de paquete con versión: trae los componentes, los estilos de la base sin reinicios y la fuente Inter.

Versión 0.5.0

Archivo del paquete
casaelida-vue-0.5.0.tgz, el recurso de la versión vue-v0.5.0 en GitHub Releases, cuyas notas dan el sha256 del archivo. Una versión publicada nunca cambia.
Vue
Dependencia par ^3.5.0: la aplicación instala Vue y el paquete no incluye otro.
Dos versiones
La aplicación fija la versión del paquete, 0.5.0. La base de esta página (tokens, recetas y descargas) tiene su propia versión, 0.2.0. Cada versión del paquete se construye desde una revisión de este repositorio y lleva los estilos de la base de esa revisión, así que una aplicación Vue no fija la base por separado. El pie de cada página dice desde qué revisión se construyó este sitio.

Instala y carga los estilos

pnpm add https://github.com/j3w1/ce-theme/releases/download/vue-v0.5.0/casaelida-vue-0.5.0.tgz
import '@casaelida/vue/styles.css';
import { CEButton } from '@casaelida/vue';

Envuelve la región de la aplicación en class="ce-scope" y usa los componentes de la referencia. Confirma package.json y pnpm-lock.yaml.

Guía de instalación, actualización y vuelta atrás

La sección «Install» del README del paquete, el mismo texto que viaja dentro del archivo. English.

  1. Install one pinned package file with pnpm, and commit package.json and pnpm-lock.yaml. The lockfile records the file’s integrity hash, so every install, including a clean CI checkout, gets the same package and styles.
    • Each version is published once, from merged main, as the asset of an immutable GitHub Release of j3w1/ce-theme: pnpm add https://github.com/j3w1/ce-theme/releases/download/vue-v<version>/casaelida-vue-<version>.tgz. The newest vue-v release on the Releases page is the current version; its notes give the file’s sha256.
    • For a commit without a release, use a local package file: in a ce-theme checkout at a pinned commit, pnpm install, pnpm build:vue, then pnpm pack in packages/vue; copy casaelida-vue-0.5.0.tgz into the application, run pnpm add ./casaelida-vue-0.5.0.tgz and commit the file with the manifest and lockfile: a local file is part of the pin, so a clean checkout needs it. Keep the previous file while it may be needed for a rollback.
  2. Import the styles once, in the application entry: import '@casaelida/vue/styles.css';. It holds Inter (400, 600, 700 and 800, with its fonts beside it), the --ce- tokens and the ce- recipes. It resets nothing: every rule sits under a ce- class, and the tokens are custom properties on :root.
  3. Wrap the application region in class="ce-scope". Without the styles or the scope the components render unstyled.

Vue is a peer dependency, ^3.5.0: the application installs Vue itself, and the package bundles no Vue runtime.

Upgrade by changing the pinned URL (or file) to the newer version and committing the updated lockfile. Roll back by restoring the previous URL and lockfile, then pnpm install --frozen-lockfile.

The package file contains the built components with their declarations and source maps, dist/styles.css, dist/fonts/ (the four Inter WOFF2 files and OFL.txt), this README and NOTICE: the Casa Elida name, logo and brand assets are not licensed by the package.