0.0.2 • Published 1 year ago

@tkeron/cli v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Tkeron

Micro framework for developing web user interfaces with typescript.

  • Create web interfaces with typescript without configuration.
  • Take advantage of hot reloading to see your changes as you go.
  • Start your project faster, compile faster than other frameworks (thanks to esbuild).
  • Create pre-rendered components or pages.

tkeron example

How to use


  • Install tkeron globally
npm i -g tkeron

  • Enter in your project directory and run:
tkeron init

This will create a blank project in the "front" directory.


  • To build the html file run this:
tkeron build

This will transpile the project in the directory "web"


  • To run in your browser:
tkeron dev

This command will create a server on port 5000 for the "web" directory and will observe the file change in the "front" directory.


  • to create a page use this:
tkeron generate page index

or its short version:

tk g p index

  • to create a component use this:
tkeron generate component my/button

or its short version:

tk g c my/button