Skip to content

muyi0327/cmpjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmpjs

Components of the generation tool

install

npm install cmpjs -g

fix build slow problem

If your NPM version is 2.x, execute the 'npm dedupe' after the execution of the 'npm install' command.

Documentation

Create command

cmpjs create <componentName> [--combine]

Example

command:
cmpjs create new-box

result:

./index.cmp
----content:
<style src="./src/new-box.scss" lang="sass"></style>

<template src="./src/new-box.html"></template>

<script src="./src/new-box.js" lang="es6"></script>

/src
---new-box.scss
---new-box.html
---new-box.js

./cmp.config.js
./karma.conf.js
./package.json

Build command

cmpjs build

About

components build tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published