pangea-lib

Installation
145,633
Install
npm install pangea-lib
Latest Version:4.0.580
Vue:3
License:ISC
Last Updated:Jul 19, 2026
Links: npm
Maintainer: gianrase

Pangea

Installation

Install the following packages in your project with npm or yarn:

1. yarn add pangea-lib
2. yarn add pinia
3. yarn add pinia-plugin-persistedstate

In the main file:

import { createApp } from 'vue';
import App from '@/App.vue';
// pinia
import { createPinia } from 'pinia';
import { createPersistedState } from 'pinia-plugin-persistedstate';
// pangea
import Pangea from 'pangea-lib';
// styles
import 'pangea-lib/main.css';

// create app
const app = createApp(App);
// pinia
const pinia = createPinia();
pinia.use(createPersistedState({ storage: localStorage }));
app.use(pinia);
// pangea
app.use(Pangea, pangeaOptions); // pangeaOptions object is OPTIONAL
// mount
app.mount('#app');

Note: Pangea includes sanitize.css by default.

If you want to use the Stylus helpers:

  1. yarn add stylus --dev
  2. Add the following to your vite.config:
import { defineConfig } from 'vite';

export default defineConfig({
  css: {
    preprocessorOptions: {
      stylus: {
        additionalData: `
          @import "pangea-lib/dist/styles/breakpoints.styl";
          @import "pangea-lib/dist/styles/helpers.styl";
        `,
      },
    },
  },
});

Related Packages

@nx/vue

The Vue plugin for Nx contains executors and generators for managing Vue applica...

2,627,680 29,434
@nx/nuxt

The Nuxt plugin for Nx contains executors and generators for managing Nuxt appli...

784,947 29,434
burger-ui

A Simple Component Library For Vue3

1,027
@ohos-ports/nx-nuxt

The Nuxt plugin for Nx contains executors and generators for managing Nuxt appli...

0 6
@chenfengyuan/vue-countdown

Countdown component for Vue 3.

1,871,408 724

Version History

Version Released License
4.0.580 ISC
4.0.579 ISC
4.0.578 ISC
4.0.577 ISC
4.0.576 ISC