0.1.13 • Published 6 months ago

cssx-framework-cli v0.1.13

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

Overview

Commands

  1. cssx - runs project from within the current directory
  2. cssx build - builds the cssx files into static html assets, placing them into the output directory specified in the configuration file

Configuration

Using a cssx.json configuration file in the root directory can override the default configuration.

  1. port (default: 3000): The port number for serving local site
  2. routeDir (default: "./routes"): The relative directory path to where the site's route pages can be located
  3. defaultRoute (default: "/home"): The default route for the application. N.B.: this needs to match to one of the existing page routes in the site's routeDir
  4. assetsDir (default: undefined): Controls whether to serve assets such as images to the app, by providing the directory in which those assets can be found
  5. outputDir (default: "./dist"): The output directory where built files will be placed via the build command

Example

{
    "port": 3000,
    "routeDir": "./routes",
    "defaultRoute": "/home",
    "assetsDir": "assets",
    "outputDir": "./dist"
}

ToDo

  • Handle common CLI args for building project, and running from another directory, etc.
0.1.13

6 months ago

0.1.12

9 months ago

0.1.11

9 months ago

0.1.10

9 months ago

0.1.9

9 months ago

0.1.8

9 months ago

0.1.7

9 months ago

0.1.6

9 months ago

0.1.5

9 months ago

0.1.4

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago