TypeScript language server plugin that adds intellisense to your Remix projects.
npm install typescript-remix-routes-pluginTypeScript language server plugin that adds intellisense to your Remix projects.
- Route path completion
- Route path diagnostics
- Jump to route definition
- Route module completion
- Jump to route reference
- 🚧 Rename route
``bash`
$ npm install typescript-remix-plugin -D
And configure plugins section in your tsconfig.json, for example:
`json`
{
"compilerOptions": {
"target": "ES2019",
"plugins": [
{
"name": "typescript-remix-plugin",
"tag": "route"
}
]
}
}
`tstsconfig.json
// import name should be the same as the tag name in the
import route from 'typescript-remix-plugin/tag';
const id = 1;
route/posts/${id};``