Function
Static Public Summary | ||
public |
async addComponent(entry: String, name: String, base: String) |
|
public |
Bundle components to JS modules |
|
public |
async createCell(name: String, path: String, keys: String[], preload: Boolean) |
|
public |
async createRouter(name: String, path: String, page: String[]) |
|
public |
identifierOf(raw: String, big: Boolean): String |
|
public |
Bundle components into a JS package |
Static Public
public async addComponent(entry: String, name: String, base: String) source
import {addComponent} from 'web-cell-cli/source/utility.js'
public async bundle(path: string): string[] source
import {bundle} from 'web-cell-cli/source/command.js'
Bundle components to JS modules
Params:
Name | Type | Attribute | Description |
path | string | Source directory |
public async createCell(name: String, path: String, keys: String[], preload: Boolean) source
import {createCell} from 'web-cell-cli/source/command.js'
public async createRouter(name: String, path: String, page: String[]) source
import {createRouter} from 'web-cell-cli/source/command.js'
public identifierOf(raw: String, big: Boolean): String source
import {identifierOf} from 'web-cell-cli/source/utility.js'