Skip to content

Commit 7f3d221

Browse files
committed
setup boilerplate
1 parent 682b1eb commit 7f3d221

14 files changed

+38
-114
lines changed

package-lock.json

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+5
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,10 @@
3434
"last 1 firefox version",
3535
"last 1 safari version"
3636
]
37+
},
38+
"devDependencies": {
39+
"autoprefixer": "^10.4.13",
40+
"postcss": "^8.4.19",
41+
"tailwindcss": "^3.2.4"
3742
}
3843
}

postcss.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {},
5+
},
6+
}

src/.env

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
API_KEY=at_XO1Uf2b4

src/App.css

-38
This file was deleted.

src/App.js

-25
This file was deleted.

src/App.jsx

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
function App() {
2+
return <div id="App">App</div>;
3+
}
4+
5+
export default App;

src/App.test.js

-8
This file was deleted.

src/index.css

+3-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
body {
2-
margin: 0;
3-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
4-
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
5-
sans-serif;
6-
-webkit-font-smoothing: antialiased;
7-
-moz-osx-font-smoothing: grayscale;
8-
}
9-
10-
code {
11-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
12-
monospace;
13-
}
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;

src/index.js

+5-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
1-
import React from 'react';
2-
import ReactDOM from 'react-dom/client';
3-
import './index.css';
4-
import App from './App';
5-
import reportWebVitals from './reportWebVitals';
1+
import React from "react";
2+
import ReactDOM from "react-dom/client";
3+
import "./index.css";
4+
import App from "./App";
65

7-
const root = ReactDOM.createRoot(document.getElementById('root'));
6+
const root = ReactDOM.createRoot(document.getElementById("root"));
87
root.render(
98
<React.StrictMode>
109
<App />
1110
</React.StrictMode>
1211
);
13-
14-
// If you want to start measuring performance in your app, pass a function
15-
// to log results (for example: reportWebVitals(console.log))
16-
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
17-
reportWebVitals();

src/logo.svg

-1
This file was deleted.

src/reportWebVitals.js

-13
This file was deleted.

src/setupTests.js

-5
This file was deleted.

tailwind.config.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/** @type {import('tailwindcss').Config} */
2+
module.exports = {
3+
content: ["./src/**/*.{js,jsx,ts,tsx}"],
4+
theme: {
5+
extend: {},
6+
},
7+
plugins: [],
8+
};

0 commit comments

Comments
 (0)