mirror of https://github.com/gaotianliuyun/gao
commit
8d2ee47921
@ -0,0 +1,5 @@ |
||||
.idea/ |
||||
|
||||
node_modules/ |
||||
|
||||
css/*.css* |
||||
@ -0,0 +1,18 @@ |
||||
# UI Dev |
||||
|
||||
Just a quick repo I made to test UI development |
||||
|
||||
# Usage |
||||
|
||||
The server will watch HTML/CSS/JS and reload when changes are detected. |
||||
|
||||
`npm run server` |
||||
|
||||
If you need anything else to work with (e.g. `bulma` or `nord`) simply install them with npm. |
||||
|
||||
# Jetbrains FileWatcher (if available) |
||||
|
||||
This image was taken on Windows, |
||||
so `Program` may need to be changed on *nix. |
||||
|
||||
 |
||||
@ -0,0 +1 @@ |
||||
# Compiled by Sass |
||||
|
After Width: | Height: | Size: 50 KiB |
@ -0,0 +1,13 @@ |
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
<head> |
||||
<meta charset="UTF-8"> |
||||
<title>Title</title> |
||||
|
||||
<link rel="stylesheet" type="text/css" href="../css/style.css"/> |
||||
</head> |
||||
<body> |
||||
<h1>Hello, world!</h1> |
||||
<script src="../js/main.js"></script> |
||||
</body> |
||||
</html> |
||||
@ -0,0 +1 @@ |
||||
console.log("Hello, world!"); |
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,10 @@ |
||||
{ |
||||
"scripts": { |
||||
"sass": "npx dart-sass sass/style.scss css/style.css", |
||||
"server": "npx browser-sync start --server --no-notify --files \"css/*.css\" --files \"js/*.js\" --files \"html/*.html\" --startPath \"/html/\"" |
||||
}, |
||||
"dependencies": { |
||||
"browser-sync": "^2.26.7", |
||||
"dart-sass": "^1.25.0" |
||||
} |
||||
} |
||||
@ -0,0 +1,3 @@ |
||||
h1 { |
||||
color: rebeccapurple; |
||||
} |
||||
Loading…
Reference in new issue