Skip to content

Commit f920894

Browse files
better fix for demo page CSS
1 parent 702b006 commit f920894

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

demo/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<meta name="viewport" content="width=device-width">
77
<title>React Accessible Accordion</title>
88
<meta name="description" content="Accessible Accordion component for React"/>
9+
<link rel="stylesheet" href="main.css" />
910
<link rel="shortcut icon" href="favicon.ico">
1011
</head>
1112
<body>

demo/js/demo.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
AccordionItemBody,
1010
} from '../../src';
1111

12-
import '../main.css';
1312
import '../../src/css/fancy-example.css';
1413

1514
const Example = () => (

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"build": "npm run build:clean && npm run build:css && npm run build:flow && npm run build:rollup",
1919
"start": "npm run js:watch",
2020
"start-demo": "webpack-dev-server --mode=development",
21-
"pages": "rm -rf pages && webpack --mode=production --progress",
21+
"pages": "rm -rf pages && webpack --mode=production --progress && cp demo/*.css pages && cp demo/*.ico pages",
2222
"deploy": "npm run pages && ./bin/deploy.sh",
2323
"prettier": "prettier **/*.js --write",
2424
"prepublishOnly": "npm run build"

0 commit comments

Comments
 (0)