Front end development tools
feature:
- project devlopment tools
- inclue create project, create page, create components...
- support write plugins 🍻
usage:
-
install:
npm i unix-cli
-
config file create 'unix-cli.config.js' at project root path config items: pagePath: pages path, default is 'src/pages', componentPath: component path, default is 'src/components', templatesPath: template path, default is 'templates', plugins: custom plugins, format is: [[(command)=>{ }]]
-
create project:
cd myProject unix project myProject
-
create page:
unix page myPage
-
create component
unix component myComponent
-
write plugin
// to see unix-cli.config.js created by 'nuix init', please
-
do custom command
nuix do myCommand