Finish work on Vue Ajax project

+ Convert to Vue SFC
+ Use NPM and vue-cli to generate and serve project
+ README instructions
This commit is contained in:
2021-12-17 10:38:23 -05:00
parent 489362c6ab
commit 4beb29331f
21 changed files with 12653 additions and 267 deletions

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

17
public/index.html Normal file
View File

@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

24
public/reviews.json Normal file
View File

@@ -0,0 +1,24 @@
{
"reviews": [
{
"name": "Joe",
"review": "Good stuff",
"rating": 4
},
{
"name": "Jack",
"review": "Bad stuff",
"rating": 1
},
{
"name": "Jerry",
"review": "Ok stuff",
"rating": 3
},
{
"name": "Jim",
"review": "Great stuff",
"rating": 5
}
]
}