diff --git a/.gitignore b/.gitignore index 205e3f73..4a9bd161 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,5 @@ node_modules **/.netlify/* **/.netlify/functions-serve/* + +.npmrc diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index 543473c2..c988fda2 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -6,6 +6,8 @@ import { NuLazyDOMRiveCanvas } from '@nolebase/ui' import IntegrationCard from './components/IntegrationCard.vue' import HomeContent from './components/HomeContent.vue' +import 'virtual:uno.css' + import './styles/vars.css' import './styles/main.css' diff --git a/packages/ui/package.json b/packages/ui/package.json index 2343a102..1ded7511 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -66,6 +66,7 @@ "package:publish": "pnpm build && pnpm publish --access public --no-git-checks" }, "peerDependencies": { + "@rive-app/canvas-lite": "^2.10.0", "vue": "^3.2.0" }, "dependencies": { diff --git a/packages/ui/src/components/NuLazyDOMRiveCanvas.vue b/packages/ui/src/components/NuLazyDOMRiveCanvas.vue index 66c7b972..53609253 100644 --- a/packages/ui/src/components/NuLazyDOMRiveCanvas.vue +++ b/packages/ui/src/components/NuLazyDOMRiveCanvas.vue @@ -1,10 +1,10 @@