typescript-remix-plugin
TypeScript language server plugin that adds intellisense to your Remix projects.
Features
Get Started
$ npm install typescript-remix-plugin -D
And configure plugins section in your tsconfig.json
, for example:
{
"compilerOptions": {
"target": "ES2019",
"plugins": [
{
"name": "typescript-remix-plugin",
"tag": "route"
}
]
}
}
Route path completion
import route from 'typescript-remix-plugin/tag';
const id = 1;
route`/posts/${id}`;

Route path diagnostics

Jump to route definition

Route module completion

License
MIT