1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-06 06:07:33 +02:00

Merge pull request #1 from phuoc-ng/skeleton

Skeleton
This commit is contained in:
phuoc-ng
2019-11-15 13:34:57 +07:00
committed by GitHub
6 changed files with 7480 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
.cache
dist
node_modules

9
client/App.jsx Normal file
View File

@@ -0,0 +1,9 @@
import React from 'react';
const App = () => {
return (
<div>Test</div>
);
};
export default App;

24
client/index.html Normal file
View 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
View 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

File diff suppressed because it is too large Load Diff

15
package.json Normal file
View 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"
}
}