mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-06 06:07:33 +02:00
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.cache
|
||||
dist
|
||||
node_modules
|
9
client/App.jsx
Normal file
9
client/App.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from 'react';
|
||||
|
||||
const App = () => {
|
||||
return (
|
||||
<div>Test</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default App;
|
24
client/index.html
Normal file
24
client/index.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS layout</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro&display=swap" rel="stylesheet">
|
||||
<link href="https://unpkg.com/tachyons@4.10.0/css/tachyons.min.css" rel="stylesheet">
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/dracula.min.css" rel="stylesheet">
|
||||
<style>
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
code {
|
||||
border-radius: 4px;
|
||||
font-family: 'Source Code Pro', monospace;
|
||||
font-size: 14px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="avenir w-100">
|
||||
<div id="root"></div>
|
||||
<script src="./index.jsx"></script>
|
||||
</body>
|
||||
</html>
|
6
client/index.jsx
Normal file
6
client/index.jsx
Normal file
@@ -0,0 +1,6 @@
|
||||
import React from 'react';
|
||||
import { render } from 'react-dom';
|
||||
|
||||
import App from './App';
|
||||
|
||||
render(<App />, document.getElementById('root'));
|
7423
package-lock.json
generated
Normal file
7423
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
15
package.json
Normal file
15
package.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "csslayout",
|
||||
"scripts": {
|
||||
"dev": "parcel client/index.html --out-dir dist/client",
|
||||
"build": "parcel build client/index.html --out-dir dist/client"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^16.12.0",
|
||||
"react-dom": "^16.12.0",
|
||||
"react-router-dom": "^5.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"parcel-bundler": "^1.12.4"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user