Ren
Explore posts from serversCDCloudflare Developers
•Created by Ren on 3/20/2025 in #workers-help
Photon module usage
I need to use photon module to resize images stored in clouldflare R2 in my nuxt project.
But I can't install photon npm package.
How can I resolve this ?
1 replies
Please help me to fix this
I used tailwind css in Nuxt3 project. And tried to use nuxtui npm.
B
ut when I try to run project.
Pre-transform error: Failed to resolve import "#tailwind-config/theme/colors" from "node_modules/@nuxt/ui/dist/runtime/plugins/colors.js?v=07ce98ae". Does the file exist?
Plugin: vite:import-analysis
/node_modules/@nuxt/ui/dist/runtime/plugins/colors.js?v=07ce98ae:4:21
1 | import { computed } from "vue";
2 | import { get, parseConfigValue } from "../utils/index.js";
3 | import colors from "#tailwind-config/theme/colors"; | ^ 4 | 5 | import { defineNuxtPlugin, useNuxtApp } from '#app/nuxt';
3 | import colors from "#tailwind-config/theme/colors"; | ^ 4 | 5 | import { defineNuxtPlugin, useNuxtApp } from '#app/nuxt';
5 replies