["atolink", { "component": "Link", "package": "next/link" }]
// source
const Component = () => {
return <a href="/">Home</a>;
};
// target
import Link from "next/link";
const Component = () => {
return <Link href="/">Home</Link>;
};
["atolink", { "component": "Link", "package": "next/link" }]
// source
const Component = () => {
return <a href="/">Home</a>;
};
// target
import Link from "next/link";
const Component = () => {
return <Link href="/">Home</Link>;
};
npm i atolink
1
0.1.18
none
3.32 MB
3