Files
litlyx/docs/docs/getstarted/import.md
2024-06-02 03:35:35 +02:00

1.5 KiB

sidebar_position
sidebar_position
3

Install & Import LitLyx

Installing and integrating LitLyx into your code is simpler than anything else you've tried so far. 🔥 with just 1 min setup! ⏱️

To install LitLyx, run the following command:

npm i litlyx

Choose your Framework

We designed LitLyx with simplicity in mind, so you can accomplish any task with just a single line of code. Now, it's time to start coding! 👇

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

**(reading javascript)**
//import
import { Lit } from 'litlyx';

If your are using vanilla js you can find pretty intresting this approach too

<script defer data-project="project_id_here" src="https://cdn.jsdelivr.net/npm/litlyx@1.1.0/browser/litlyx.js"></script>
**(reading Vue)**
//import
import { Lit } from 'litlyx';

**(reading React)**
//import
import { Lit } from 'litlyx';

**(reading Next)**
//import
import { Lit } from 'litlyx';

**(reading Nuxt)**
//import
import { Lit } from 'litlyx';

**(reading Angular)**
//import
import { Lit } from 'litlyx';