mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-23 03:54:21 +00:00
🔨 Remove preview website
This commit is contained in:
parent
bb6eb10c1f
commit
2d439c3b10
3 changed files with 3 additions and 35 deletions
|
@ -37,13 +37,11 @@
|
||||||
"babel-loader": "8.1.0"
|
"babel-loader": "8.1.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "react-scripts start",
|
|
||||||
"build": "react-scripts build",
|
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"storybook": "start-storybook -p 30060 -s public",
|
"start": "start-storybook -p 30060 -s public",
|
||||||
"build-storybook": "build-storybook -s public",
|
"build": "build-storybook -s public",
|
||||||
"deploy-storybook": "storybook-to-ghpages"
|
"deploy": "storybook-to-ghpages"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
"production": [
|
"production": [
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
import * as React from "react"
|
|
||||||
import * as ReactDOM from "react-dom"
|
|
||||||
import {Bluelib} from "./components/Bluelib";
|
|
||||||
import * as Colors from "./utils/Colors"
|
|
||||||
import {Chapter} from "./components/chapters/Chapter";
|
|
||||||
import {Heading} from "./components/common/Heading";
|
|
||||||
import {Panel} from "./components/panels/Panel";
|
|
||||||
|
|
||||||
|
|
||||||
export function Preview({...props}): JSX.Element {
|
|
||||||
return (
|
|
||||||
<span>Nothing to render here.</span>
|
|
||||||
)
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
import React from 'react';
|
|
||||||
import ReactDOM from 'react-dom';
|
|
||||||
import Preview from './Preview';
|
|
||||||
import reportWebVitals from './reportWebVitals';
|
|
||||||
|
|
||||||
ReactDOM.render(
|
|
||||||
<React.StrictMode>
|
|
||||||
<Preview/>
|
|
||||||
</React.StrictMode>,
|
|
||||||
document.getElementById('react-root')
|
|
||||||
);
|
|
||||||
|
|
||||||
// If you want to start measuring performance in your app, pass a function
|
|
||||||
// to log results (for example: reportWebVitals(console.log))
|
|
||||||
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
|
||||||
reportWebVitals();
|
|
Loading…
Reference in a new issue