Coder Social home page Coder Social logo

Comments (6)

hirasso avatar hirasso commented on May 21, 2024

HI @kkopp001

Could you be more specific?

Try using the Astro formatter

What formatter do you mean?

It will not format the code as expected.

What code?

from swup.

kkopp001 avatar kkopp001 commented on May 21, 2024

Hi @hirasso,

When I mentioned the Astro formatter, I was referring to the official Astro extension in Visual Studio Code that formats the code.

Regarding your question about "what code", I meant the Astro code in my project. After installing the specified Swup plugins, I observed that the Astro code in my project wasn't being formatted as expected by the Astro extension in VSCode.

I hope this clarifies the issue better. Thank you for your patience.

from swup.

hirasso avatar hirasso commented on May 21, 2024

@kkopp001

  • are you seeing the issue right when you install the two plugins mentioned above, or only when you use them them?
  • What is the expected format of your code? (please provide a code block)
  • What is the actual (=broken) format of your code? (please provide a code block)

from swup.

hirasso avatar hirasso commented on May 21, 2024

I suspect this could be happening due to the fact that the scripts-plugin isn't written in TypeScript, yet. I've created swup/scripts-plugin#30, let's see if this solves the issue.

from swup.

hirasso avatar hirasso commented on May 21, 2024

@kkopp001 could you update @swup/scripts-plugin to version 2.1.0 and test if your issue persists?

from swup.

hirasso avatar hirasso commented on May 21, 2024

@kkopp001 any news on this? Otherwise, I'll close this as non-reproducible

from swup.

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.