0.0.0-alpha.14 • Published 3 years ago
typescript-remix-plugin v0.0.0-alpha.14
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",
}
]
}
}
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
0.0.0-alpha.7
3 years ago
0.0.0-alpha.8
3 years ago
0.0.0-alpha.5
3 years ago
0.0.0-alpha.6
3 years ago
0.0.0-alpha.9
3 years ago
0.0.0-alpha.13
3 years ago
0.0.0-alpha.12
3 years ago
0.0.0-alpha.11
3 years ago
0.0.0-alpha.10
3 years ago
0.0.0-alpha.14
3 years ago
0.0.0-alpha.3
3 years ago
0.0.0-alpha.4
3 years ago
0.0.0-alpha.1
3 years ago
0.0.0-alpha.2
3 years ago
0.0.0-alpha.0
3 years ago