typescript-remix-routes-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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 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 completion

Route path diagnostics

Route path diagnostics

Jump to route definition

Jump to route definition

Route module completion

Route module completion

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i typescript-remix-routes-plugin

Weekly Downloads

4,894

Version

1.0.1

License

MIT

Unpacked Size

43.7 kB

Total Files

34

Last publish

Collaborators

  • yesmeck