@xlabs-store/core
v0.0.1
Published
Stencil Component Starter
Readme
@xlabs-store/core
High-performance Web Components library for build enterprise-class UI.
📦 Installation
npm install @xlabs-store/core⌨️ Usage
Via CDN
Inject the following script and stylesheet into your HTML:
<script type="module" src="https://cdn.jsdelivr.net/npm/@xlabs-store/core/dist/index.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@xlabs-store/core/dist/styles.css">
<x-button type="primary">Integrated Button</x-button>Via Module Bundler
import { defineCustomElements } from '@xlabs-store/core/loader';
import '@xlabs-store/core/dist/styles.css';
// Initialize components
defineCustomElements();