1.1.0 • Published 10 months ago

cmicrojs v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Cmicrojs

cmicrojs

用法

适用于 node.js 环境下,快速构建项目模版脚手架插件

import cmicrojs from 'cmicrojs'

const init = async () => {
  await cmicrojs([
    {
      name: 'react',
      display: 'React',
      color: 'cyan',
    },
    {
      name: 'vue',
      display: 'Vue',
      color: 'green',
      variants: [
        {
          name: 'vue',
          display: 'JavaScript',
          color: 'yellow'
        },
        {
          name: 'vue-ts',
          display: 'TypeScript',
          color: 'blue'
        }
      ]
    }
  ])
}

init()

模版目录结构

.
├── template-react
│   └── index.js
│   ├── package.json
├── template-vue
│   ├── README.md
│   ├── _gitignore
│   ├── index.html
│   ├── package.json
│   ├── public
│   │   └── vite.svg
│   ├── src
│   │   ├── App.vue
│   │   ├── assets
│   │   │   └── vue.svg
│   │   ├── components
│   │   │   └── HelloWorld.vue
│   │   ├── main.js
│   │   └── style.css
│   └── vite.config.js
└── template-vue-ts
    ├── README.md
    ...
1.1.0

10 months ago

1.0.9

10 months ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago