GithubHelp home page GithubHelp logo

Comments (3)

skoropadas avatar skoropadas commented on July 28, 2024 1

I agree. Previously, baseUrl was added by default when generating an Angular application, so there was no issue, but when transitioning to Vite, Angular developers also simplified the TypeScript configuration by removing baseUrl. Apparently, I forgot to add it during the code migration.

In general, simply adding baseUrl: "." as it was before should suffice, but I've also been informed (#144) that some features stopped working with the release of Angular 17.3, and I'm working on that.

Nevertheless, you're right, paths should be relative. I have already fixed this in a newer version that I'm currently working on, so it should be fixed when I release it.

from ng-doc.

Char2sGu avatar Char2sGu commented on July 28, 2024

By the way, the baseUrl is not specified by default when generating an Angular application, and is also not added by @ng-doc/add. If the developer did not explicitly specify it, a TypeScript error will occur when trying to build or serve the application.

from ng-doc.

skoropadas avatar skoropadas commented on July 28, 2024

I think this issue was fixed by the latest releases, feel free to reopen it if it's still an issue

from ng-doc.

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.