### Run Example Server (npm) Source: https://github.com/unoforge/flexilla/blob/main/examples/vanilla/README.md Starts the development server for the vanilla example project, typically defined by a 'dev' script in its package.json. ```shell npm run dev ``` -------------------------------- ### Install Dependencies (npm) Source: https://github.com/unoforge/flexilla/blob/main/examples/vanilla/README.md Installs the necessary project dependencies listed in the package.json file using npm. ```shell npm install ``` -------------------------------- ### Install Dependencies with npm (sh) Source: https://github.com/unoforge/flexilla/blob/main/examples/vue-example/README.md Installs the project dependencies listed in the package.json file using npm. ```sh npm install ``` -------------------------------- ### Navigate to Vanilla Example Directory (shell) Source: https://github.com/unoforge/flexilla/blob/main/examples/vanilla/README.md Changes the current working directory to the specific folder containing the vanilla JavaScript example. ```shell cd examples/vanilla ``` -------------------------------- ### Run Development Server with npm (sh) Source: https://github.com/unoforge/flexilla/blob/main/examples/vue-example/README.md Starts the development server with hot-reloading enabled, typically using Vite. ```sh npm run dev ``` -------------------------------- ### Link Flexilla Package in Example (npm) Source: https://github.com/unoforge/flexilla/blob/main/examples/vanilla/README.md Links the locally available Flexilla package (created with `npm link` in the package directory) into the node_modules of the vanilla example project. ```shell npm link @flexilla/flexilla ``` -------------------------------- ### Using Flexilla components (JS) Source: https://github.com/unoforge/flexilla/blob/main/docs/src/content/docs/framework-guide/vite-guide.mdx Example showing how to import and instantiate Accordion and Tabs components from Flexilla after installing via npm or yarn. ```js import {Accordion, Tabs} from "@flexilla/flexilla" const accordion = new Accordion("#my-accordion") const tabs = new Tabs("#my-tabs",{ // options }) ``` -------------------------------- ### Basic Flexilla Component Usage (JavaScript) Source: https://github.com/unoforge/flexilla/blob/main/docs/src/content/docs/framework-guide/astro-guide.mdx Example demonstrating how to import and instantiate Flexilla components like Accordion and Tabs within a JavaScript script after installing the library via a package manager. ```js import {Accordion, Tabs} from "@flexilla/flexilla" const accordion = new Accordion("#my-accordion") const tabs = new Tabs("#my-tabs",{ // options }) ``` -------------------------------- ### Build Flexilla Package (npm) Source: https://github.com/unoforge/flexilla/blob/main/examples/vanilla/README.md Executes the build script defined in the Flexilla package's package.json to compile the source code. ```shell npm run build ``` -------------------------------- ### Link Flexilla Package Locally (npm/shell) Source: https://github.com/unoforge/flexilla/blob/main/examples/vanilla/README.md Navigates into the Flexilla package directory and creates a local npm link, making the package available for local development. ```shell cd packages/flexilla && npm link ``` -------------------------------- ### Build Project for Production with npm (sh) Source: https://github.com/unoforge/flexilla/blob/main/examples/vue-example/README.md Compiles, type-checks, and minifies the project for production deployment. ```sh npm run build ``` -------------------------------- ### Installing Flexilla via npm (Shell) Source: https://github.com/unoforge/flexilla/blob/main/docs/src/content/docs/framework-guide/vite-guide.mdx Command to install the Flexilla library as a dependency using npm. ```bash npm i @flexilla/flexilla ``` -------------------------------- ### Installing Flexilla via yarn (Shell) Source: https://github.com/unoforge/flexilla/blob/main/docs/src/content/docs/framework-guide/vite-guide.mdx Command to install the Flexilla library as a dependency using yarn. ```bash yarn add @flexilla/flexilla ``` -------------------------------- ### Example HTML for basic Flexipop usage (HTML) Source: https://github.com/unoforge/flexilla/blob/main/docs/src/content/docs/overlays/popper.mdx Provides example HTML markup for the reference and popper elements used in the basic Flexipop setup with position: fixed. ```html