total5-auto-router
v1.0.1
Published
Auto router package for total5 framework (Inspired by SvelteKit)
Downloads
5
Readme
total5-auto-router
Auto router package for total5 framework (Inspired by SvelteKit)
Configuration options
// src: routes (default source folder)
// use: default (basic routing), api (API routing), ws (WS API routing)
// ssr: false (enable server side rendering)
// api: /api/ (default url for API routing)
// ws: / (default url for WS API routing)
// cdn: true (enable auto generate cdn scripts to app head html file)
// cdn_auto: true (enable auto generate COMPONENTATOR() array)
// components: 'exec,box' (append to COMPONENTATOR() array)
// default_form: 'form' (default form component for project)
ar_src : routes
ar_use : default
ar_ssr : false
ar_api : /api/
ar_ws : /
ar_cdn : true
ar_cdn_auto : true
ar_components : tangular-initials
ar_default_form : form