fullts
v1.1.0
Published
Full stack framework in TypeScript, based on TSRPC.
Downloads
40
Maintainers
Readme
FullTS
EN / 中文
Full-stack framework in TypeScript, based on TSRPC and React.
Still under developing, feel free to log a issue.
Features
Quick development
Extremly efficient in development, everything in TypeScript. Share code between frontend and backend, remote function call just like local
High performance
Delay load, pack and chunk, tested online over 2 years
Easy to learn
Get best practise of project instantly, without learning many tools (etc. webpack, react-router...)
Usage
import * as React from 'react';
import {FulltsApp} from 'fullts';
new FulltsApp({
serverUrl: '',
routes: [
{ path: '/', component: () => import('./views/HomeView') },
{ path: '/posts', component: () => import('./views/ArticleListView') },
{ path: '/post/:id', component: () => import('./views/SingleArticleView') },
{ path: '*', component: () => import('./views/Page404') } //404 Page
]
}).renderTo(document.getElementById('app-root')!)