@kites/react
Advanced tools
+2
-2
| { | ||
| "name": "@kites/react", | ||
| "version": "1.2.2", | ||
| "version": "1.2.3", | ||
| "description": "React - Frontend view engine for Kites", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
| }, | ||
| "gitHead": "56816fabe149bcdedf8b609cc1b3ee61680e54d1" | ||
| "gitHead": "3434bffea7e44d482087b5848501456e19489ee8" | ||
| } |
+9
-9
@@ -31,3 +31,3 @@ # kites | ||
| # init a project | ||
| kites init my-project --template mvc | ||
| kites init my-project | ||
@@ -69,4 +69,4 @@ # move to project workspace | ||
| kites.engine().init().then((core) => { | ||
| core.logger.info('Hello World!'); | ||
| kites.engine().init().then((app) => { | ||
| app.logger.info('Hello World!'); | ||
| }); | ||
@@ -86,6 +86,4 @@ ``` | ||
| * [x] `mvc`: Assembling all into complete ship (**default**) | ||
| * [x] `basic`: Template for building from scratch | ||
| * [x] `apidoc`: Template for API Documentation | ||
| * [x] `express`: Template for Express Application | ||
| * [x] `starter`: Kites Project Starter with Typescript (**default**) | ||
| * [x] `docsify`: Template webserver for documentation site generator | ||
| * [x] `chatbot`: Template for generating an AI Chatbot | ||
@@ -112,3 +110,3 @@ | ||
| // let kites autodiscover the extensions | ||
| const app = await engine(true).init(); | ||
| const app = await engine({ discover: true }).init(); | ||
| app.logger.info('A new kites started!'); | ||
@@ -127,3 +125,5 @@ } | ||
| async function bootstrap() { | ||
| const app = await kites() | ||
| const app = await engine({ | ||
| discover: false, | ||
| }) | ||
| .use(express()) | ||
@@ -130,0 +130,0 @@ .on('express:config', app => { |
7536
-0.55%