s0kom
s0kom
AAlokai
Created by s0kom on 9/12/2023 in #🙋|general-help
Storefront UI not working as expected with Nuxt3
And it turns out that one doesn't need to create the style.css file as the tailwind module for Nuxt will create these basic configuration if one is not found.
12 replies
AAlokai
Created by s0kom on 9/12/2023 in #🙋|general-help
Storefront UI not working as expected with Nuxt3
Well.. I have resolved this 😅 I have deleted the tailwind.config.js and left only the ts one and it's now working as expected. Sorry to have bothered you all, didn't think that there would be a problem having two of these files.
12 replies
AAlokai
Created by s0kom on 9/12/2023 in #🙋|general-help
Storefront UI not working as expected with Nuxt3
Still not working
12 replies
AAlokai
Created by s0kom on 9/12/2023 in #🙋|general-help
Storefront UI not working as expected with Nuxt3
<template>
<SfButton type="button" class="w-full"> Hello </SfButton>
</template>

<script lang="ts" setup>
import { SfButton } from '@storefront-ui/vue';
import "@/src/style.css"
</script>
<template>
<SfButton type="button" class="w-full"> Hello </SfButton>
</template>

<script lang="ts" setup>
import { SfButton } from '@storefront-ui/vue';
import "@/src/style.css"
</script>
And also importing the stylesheet
12 replies
AAlokai
Created by s0kom on 9/12/2023 in #🙋|general-help
Storefront UI not working as expected with Nuxt3
No description
12 replies
AAlokai
Created by s0kom on 9/12/2023 in #🙋|general-help
Storefront UI not working as expected with Nuxt3
Yes, but I tought that the tailwind module did this automatically. Anyway yeah, I have created a src directory and put a style.css inside. I haven't tried to put the css file on the root directory, I will now test if this changes anything
12 replies
AAlokai
Created by s0kom on 9/12/2023 in #🙋|general-help
Storefront UI not working as expected with Nuxt3
Hi @.rohrig thanks for responding. Yeah, it should be! I have the node_modules dir in my project root folder
12 replies