### Install Chi Vue Plugin with Default Configuration Source: https://assets.ctl.io/chi/6.86.0/getting-started/installation This TypeScript example shows the minimal setup for installing the Chi Vue plugin using `app.use(ChiVue, {})`. This automatically includes default configurations for the portal theme and the latest Chi version. ```typescript import { createApp } from 'vue'; import { ChiVue } from "@centurylink/chi-vue"; const app = createApp(App); app.use(ChiVue, {}); ``` -------------------------------- ### Install Chi Vue Plugin with Custom Theme and Version Source: https://assets.ctl.io/chi/6.86.0/getting-started/installation This TypeScript example demonstrates how to install the Chi Vue plugin with specific configurations for theme and version. The `chiOptions` object allows you to set `theme` to 'lumen', 'portal', or 'centuryLink', and `forceVersion` to a specific Chi version string. ```typescript import { createApp } from 'vue'; import { ChiVue } from "@centurylink/chi-vue"; const app = createApp(App); app.use(ChiVue, { chiOptions: { theme: 'centurylink', forceVersion: '5.78.0' } }); ``` -------------------------------- ### Text Input: Placeholder Example (Web Component & HTML) Source: https://assets.ctl.io/chi/6.86.0/components/forms/text-input Demonstrates how to use the `placeholder` attribute to provide guidance to users on the expected input format. The placeholder text disappears once the user starts typing. ```webcomponent
Content in expansion panel (e.g. a form to enter shipping address)
Content in expansion panel (e.g. a form to select a product package)