0.1.5 • Published 5 months ago

@react-ion/cli v0.1.5

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

@react-ion/cli (CLI for creating, running and building @react-ion apps)

Getting started:

To install the cli tool run npm i @react-ssr/cli --global. Then to create an @react-ssr app run ion new project {PROJECT_NAME} which will create an app in the {PROJECT_NAME} folder. To run/watch the app while developing run npm run watch/dev or ion watch/dev. To build the final app run npm run build or ion build.

Documentation:

The whole app is based on the ion.json config. The CLI tool will read it and build/link the app based on the settings. All the pages will be bundled seperately as if they were totally different apps. To set the global.api/window.api object an entry point to the api exports is needed.

{
	"pages": {
		"app": {
			"path": "/",
			"src": "./src/pages/app"
		},
		"admin": {
			"path": "/admin",
			"src": "./src/pages/admin"
		}
	},
	"server": {
		"api": {
			"src": "./src/server/api",
			"path": "/api"
		},
		"session": {
			"resave": false,
			"rolling": true,
  			"saveUninitialized": true,
  			"cookie": {
				"maxAge": 86400000,
				"httpOnly": true,
				"path": "/"
			}
		}
	}
}
0.1.5

5 months ago

0.1.4

5 months ago

0.1.2

5 months ago

0.1.1

5 months ago

0.1.3

5 months ago

0.1.0

5 months ago

0.0.30

5 months ago

0.0.29

5 months ago

0.0.28

5 months ago

0.0.27

5 months ago

0.0.26

5 months ago

0.0.25

5 months ago

0.0.24

5 months ago

0.0.23

5 months ago

0.0.22

5 months ago

0.0.21

5 months ago

0.0.20

5 months ago

0.0.11

5 months ago

0.0.10

5 months ago

0.0.9

5 months ago

0.0.8

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago