1.0.1 • Published 12 months ago
typescript-remix-routes-plugin v1.0.1
typescript-remix-plugin
TypeScript language server plugin that adds intellisense to your Remix projects.
Features
- Route path completion
- Route path diagnostics
- Jump to route definition
- Route module completion
- Jump to route reference
- 🚧 Rename route
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 name should be the same as the tag name in the `tsconfig.json`
import route from 'typescript-remix-plugin/tag';
const id = 1;
route`/posts/${id}`;
Route path diagnostics
Jump to route definition
Route module completion
License
1.0.1
12 months ago
1.0.0
1 year ago
0.0.0-alpha.4
1 year ago
0.0.0-alpha.3
1 year ago
0.0.0-alpha.2
1 year ago
0.0.0-alpha.1
1 year ago
0.0.0-alpha.0
1 year ago