0.10.2-development • Published 4 years ago
basic-frontend v0.10.2-development
React-Static - TypeScript Template
To use this template, run react-static create
and use the typescript
template.
Path Aliases for Absolute Imports
react-static-typescript-plugin
supports path aliases since v3.1. It has been set up in this template.
// tsconfig.json
{
// ...
"paths": {
"@components/*": ["src/components/*"]
},
// ...
}
// this works in your React app
import FancyDiv from '@components/FancyDiv'
0.10.2-development
4 years ago
0.10.1-development
4 years ago
0.10.0-development
4 years ago
1.0.0
8 years ago