Browse Source

add roadhog "hash" charater (#256)

* Create index.ejs

add roadhog 'hash' character, which needs 'src/index.ejs'

* Update .roadhogrc

add config: "hash": true

* Update index.ejs

fix with 2 spaces

* Delete index.html
pull/273/head
Xiaoming Liu 8 years ago
committed by 偏右
parent
commit
81577c812a
  1. 3
      .roadhogrc
  2. 3
      src/index.ejs

3
.roadhogrc

@ -19,5 +19,6 @@
"g2-plugin-slider": "G2.Plugin.slider"
},
"ignoreMomentLocale": true,
"theme": "./src/theme.js"
"theme": "./src/theme.js",
"hash": true
}

3
public/index.html → src/index.ejs

@ -6,11 +6,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ant Design Pro</title>
<link rel="icon" href="https://gw.alipayobjects.com/zos/rmsportal/IOtlElCiWVIOZqgDslYd.png" type="image/x-icon">
<link rel="stylesheet" href="index.css" />
</head>
<body>
<div id="root"></div>
<script src="https://gw.alipayobjects.com/as/g/??datavis/g2/2.3.12/index.js,datavis/g-cloud/1.0.2/index.js,datavis/g2-plugin-slider/1.2.1/slider.js"></script>
<script src="index.js"></script>
</body>
</html>
Loading…
Cancel
Save