Comments (6)
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.
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.
- 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.
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.
@kkopp001 could you update @swup/scripts-plugin
to version 2.1.0 and test if your issue persists?
from swup.
@kkopp001 any news on this? Otherwise, I'll close this as non-reproducible
from swup.
Related Issues (20)
- contentReplaced and willReplaceContent being fired on the homepage
- Triggering link:click twice seems to interfere with content:replace and animation:in HOT 3
- Cannot use import outside of modules
- Think about chances for optimizations when clicking a link during a visit HOT 9
- Suggest changes to this page links from the Documentation result in a 404 on GitHub HOT 1
- Rethink tests setup for official plugins HOT 5
- pageA goto pageB; but,with diffrent link style; when back to PageA,the links style is losted
- [Bug]: Undefined link href on Safari 13.1 and lower HOT 10
- [Feature Request]: Add way to easily listen to ALL hook events HOT 3
- [Feature Request]: Expose AbortController to be able abort request programmatically HOT 20
- Feature: Allow aborting running visits HOT 1
- Ignore errors in user hooks HOT 1
- Importing helpers from CDN module HOT 2
- History navigation ignored when using custom link selector HOT 5
- [Bug]: URL in `visit:start` inconsistent between normal and history visits HOT 4
- Feature: Store parsed html document in visit object HOT 11
- [Solved]: New values in <head> are not updated HOT 2
- [Bug]: [data-swup-ignore-script] issue with Contact Form 7 in Wordpress HOT 4
- Implement tests for official plugins
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swup.