0.1.5 • Published 2 years ago

@react-ion/cli v0.1.5

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years 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

2 years ago

0.1.4

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.3

2 years ago

0.1.0

2 years ago

0.0.30

2 years ago

0.0.29

2 years ago

0.0.28

2 years ago

0.0.27

2 years ago

0.0.26

2 years ago

0.0.25

2 years ago

0.0.24

2 years ago

0.0.23

2 years ago

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago