Coder Social home page Coder Social logo

Export types about strapi HOT 10 CLOSED

MarijnFK avatar MarijnFK commented on May 20, 2024 7
Export types

from strapi.

Comments (10)

luke-z avatar luke-z commented on May 20, 2024 5

Just encountered the same problem :)

from strapi.

mrc-bsllt avatar mrc-bsllt commented on May 20, 2024 4

@danielroe
For the time being, the problem is solved by setting this new parameter to false.
https://nuxt.com/blog/v3-10#bundler-module-resolution

export default defineNuxtConfig({
  future: {
    typescriptBundlerResolution: false,
  },

 // ...
});

from strapi.

marius-mcfly avatar marius-mcfly commented on May 20, 2024

Same here 👀

from strapi.

mrc-bsllt avatar mrc-bsllt commented on May 20, 2024

I think the problem comes from the latest version of Nuxt (3.10.1), because I also have the same problem with i18n types.

from strapi.

BayBreezy avatar BayBreezy commented on May 20, 2024

Thanks for the temp fix. Hopefully it gets resolved soon

from strapi.

benjamincanac avatar benjamincanac commented on May 20, 2024

Are you importing the types from #ui/types? https://ui.nuxt.com/getting-started/installation#typescript

from strapi.

BayBreezy avatar BayBreezy commented on May 20, 2024

@benjamincanac , I think you have the repos mixed up?

This is the strapi repo

from strapi.

benjamincanac avatar benjamincanac commented on May 20, 2024

I did indeed get things mixed up, sorry about about that! This should have been fixed by #403 already. Will make a release today 😊

from strapi.

BayBreezy avatar BayBreezy commented on May 20, 2024

Thank you ❤️

from strapi.

benjamincanac avatar benjamincanac commented on May 20, 2024

@BayBreezy It's been released! Let me know if the problem persists 😊

from strapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.