Skip to content

epiijs/client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@epiijs/client

A simple React client runtime.

  • sealed entry for single page application
  • optional file-system based router (WIP)

Install

npm i @epiijs/client --save-dev

Usage

project like this

(root)
├─ src
│  ├─ .epiijs
│  │  └─ (auto-generated)
│  ├─ (others)
│  ├─ index.tsx
│  └─ index.less
└─ start.ts

start client dev server or build client

import { startClient } from '@epiijs/client';

const appConfig = {
  name: 'your-client',
  path: {
    root: __dirname // or getDirNameByImportMeta
  }
};

startClient(config);
buildClient(config);

About

A simple React client runtime.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published