fix lib import

This commit is contained in:
Emily
2024-06-09 19:11:56 +02:00
parent 19996a151b
commit 4b755fe748
7 changed files with 17 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import { Lit } from 'litlyx';
import { Lit } from 'litlyx-js';
Lit.init('6643cd08a1854e3b81722ab5');

View File

@@ -5,7 +5,7 @@ import type { Section } from '~/components/CVerticalNavigation.vue';
const router = useRouter();
const { setToken } = useAccessToken();
import { Lit } from 'litlyx';
import { Lit } from 'litlyx-js';
const sections: Section[] = [
{

View File

@@ -16,7 +16,7 @@
"dayjs": "^1.11.11",
"google-auth-library": "^9.9.0",
"jsonwebtoken": "^9.0.2",
"litlyx": "^1.1.2",
"litlyx-js": "^1.0.0",
"mongoose": "^8.3.2",
"nodemailer": "^6.9.13",
"nuxt": "^3.11.2",

View File

@@ -11,7 +11,7 @@ const { projects, refresh } = useProjectsList();
const isFirstProject = computed(() => { return projects.value?.length == 0; })
import { Lit } from 'litlyx';
import { Lit } from 'litlyx-js';
const route = useRoute();

View File

@@ -23,9 +23,9 @@ importers:
jsonwebtoken:
specifier: ^9.0.2
version: 9.0.2
litlyx:
specifier: ^1.1.2
version: 1.1.2
litlyx-js:
specifier: ^1.0.0
version: 1.0.0
mongoose:
specifier: ^8.3.2
version: 8.4.0(socks@2.8.3)
@@ -2926,8 +2926,8 @@ packages:
resolution: {integrity: sha512-7/HamOm5YD9Wb7CFgAZkKgVPA96WwhcTQoqtm2VTZGVbVVn3IWKRBTgrU7cchA3Q8k9iCsG8Osoi9GX4JsGM9g==}
hasBin: true
litlyx@1.1.2:
resolution: {integrity: sha512-BUpa0MBIt3YIz/iIch+35eQDOoFeyGuf/+BudVXjNsqpjTxqMveeQLhi8QrhF4oel83Ighx/JzCxzhBRsNTh6Q==}
litlyx-js@1.0.0:
resolution: {integrity: sha512-HZYFJDF1hgww5xtkTs+wf2LHMV58yQYo9CAny2RCmp8iJL/TczIuaYN30cJCoYxSBbFKBUZfbAKvErzJrbgXfw==}
local-pkg@0.4.3:
resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==}
@@ -8266,7 +8266,7 @@ snapshots:
transitivePeerDependencies:
- uWebSockets.js
litlyx@1.1.2: {}
litlyx-js@1.0.0: {}
local-pkg@0.4.3: {}

View File

@@ -25,7 +25,7 @@ import TabItem from '@theme/TabItem';
```ts
//import
import { Lit } from 'litlyx';
import { Lit } from 'litlyx-js';
```
If your are using vanilla js you can find pretty intresting this approach too
@@ -40,7 +40,7 @@ If your are using vanilla js you can find pretty intresting this approach too
```ts
//import
import { Lit } from 'litlyx';
import { Lit } from 'litlyx-js';
```
#
</TabItem>
@@ -50,7 +50,7 @@ import { Lit } from 'litlyx';
```ts
//import
import { Lit } from 'litlyx';
import { Lit } from 'litlyx-js';
```
#
</TabItem>
@@ -60,7 +60,7 @@ import { Lit } from 'litlyx';
```ts
//import
import { Lit } from 'litlyx';
import { Lit } from 'litlyx-js';
```
#
</TabItem>
@@ -70,7 +70,7 @@ import { Lit } from 'litlyx';
```ts
//import
import { Lit } from 'litlyx';
import { Lit } from 'litlyx-js';
```
#
</TabItem>
@@ -81,7 +81,7 @@ import { Lit } from 'litlyx';
```ts
//import
import { Lit } from 'litlyx';
import { Lit } from 'litlyx-js';
```
#
</TabItem>

View File

@@ -44,7 +44,7 @@ npm i litlyx
```ts
//import
import { Lit } from 'litlyx';
import { Lit } from 'litlyx-js';
```
```ts