Skip to content

Commit bd38590

Browse files
committed
fix(imports): resolve #nanime/utils import issue
1 parent 78b87e1 commit bd38590

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

docs/app/components/content/HeroAnimation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ useAnimate('.boxes > .box', {
4747
}
4848
4949
.box {
50-
@apply size-9 rounded-sm bg-primary/30 aspect-square;
50+
@apply size-7 md:size-9 rounded-sm bg-primary/30 aspect-square;
5151
}
5252
</style>

docs/content/index.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ orientation: horizontal
2929
import { stagger } from '#nanime/utils'
3030

3131
useAnimate('.boxes > .box', {
32-
scale: [
33-
{ to: [0, 1.25] },
34-
{ to: 0 }
35-
],
32+
scale: [{ to: [0, 1.25] }, { to: 0 }],
3633
boxShadow: [
3734
{ to: '0 0 1rem 0 currentColor' },
3835
{ to: '0 0 0rem 0 currentColor' }

src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default defineNuxtModule<ModuleOptions>({
5757

5858
_nuxt.options.alias[`#${__configKey}`] = resolver.resolve('./runtime/app/composables')
5959
_nuxt.options.alias[`#${__configKey}/components`] = resolver.resolve('./runtime/app/components')
60-
_nuxt.options.alias[`#${__configKey}/utils`] = resolver.resolve('./runtime/app/utils/index')
60+
_nuxt.options.alias[`#${__configKey}/utils`] = resolver.resolve('./runtime/app/utils')
6161
_nuxt.options.alias[`#${__configKey}/easings`] = resolver.resolve('./runtime/app/utils/easings')
6262
},
6363
})

0 commit comments

Comments
 (0)