UNPKG
@cqmbr/create-cha
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
🍵 Create React Application/Component based on Cha
github.com/cqmbr/create-cha
cqmbr/create-cha
@cqmbr/create-cha
/
bin
/
utils
/
template.js
16 lines
(13 loc)
•
291 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"use strict"
;
const
templates = {
desktop
: {
url
:
'https://codeload.github.com/kagawagao/cha/zip/desktop'
},
mobile
: {
url
:
'https://codeload.github.com/kagawagao/cha/zip/mobile'
} };
const
getTemplate
=
type
=> {
return
templates[
type
]; };
module
.
exports
= getTemplate;