Skip to content

Commit 0f15945

Browse files
authored
Merge pull request #4 from contentstack/staging
Json Preview
2 parents 780bd18 + 8f9f45b commit 0f15945

22 files changed

+13529
-193
lines changed

.env

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
VUE_APP_CONTENTSTACK_API_KEY = stack_api_key
2-
VUE_APP_CONTENTSTACK_DELIVERY_TOKEN = delivery_token
3-
VUE_APP_CONTENTSTACK_ENVIRONMENT = publishing_environment
1+
VUE_APP_CONTENTSTACK_API_KEY =your_stack_api_key
2+
VUE_APP_CONTENTSTACK_DELIVERY_TOKEN = your_stack_delivery_token
3+
VUE_APP_CONTENTSTACK_ENVIRONMENT = delivery_token_env
44
# optional EU region (default region is NA/US) when its kept empty
5-
VUE_APP_CONTENTSTACK_REGION =
5+
# VUE_APP_CONTENTSTACK_REGION =

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.DS_Store
22
node_modules
3-
package-lock.json
43
/dist
54

65

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Contentstack](https://camo.githubusercontent.com/d24f513afa94a4a762533d54a0f590300dbd0413/68747470733a2f2f7777772e636f6e74656e74737461636b2e636f6d2f646f63732f7374617469632f696d616765732f636f6e74656e74737461636b2e706e67)](https://www.contentstack.com/)
1+
[![Contentstack Logo](/public/contentstack.png)](https://www.contentstack.com/)
22

33
# Create a marketing website using VueJS
44

package-lock.json

Lines changed: 13107 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "contentstack-vuejs-starter-app",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "A simple starter app build using VueJS and Contentstack",
55
"author": "Contentstack",
66
"license": "MIT",
@@ -11,13 +11,17 @@
1111
"lint": "vue-cli-service lint"
1212
},
1313
"dependencies": {
14+
"@alenaksu/json-viewer": "^0.3.4",
1415
"contentstack": "^3.12.2",
1516
"core-js": "^3.6.5",
1617
"moment": "^2.29.1",
1718
"register-service-worker": "^1.7.1",
1819
"vue": "^3.0.0",
20+
"vue-json-pretty": "^1.8.1",
21+
"vue-json-tree-viewer": "^1.0.2",
1922
"vue-meta": "^2.4.0",
20-
"vue-router": "^4.0.5"
23+
"vue-router": "^4.0.5",
24+
"vuex": "^4.0.0-alpha.1"
2125
},
2226
"devDependencies": {
2327
"@vue/cli-plugin-babel": "~4.5.0",

public/contentstack.png

2.17 KB
Loading

public/index.html

Lines changed: 33 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,35 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="utf-8">
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
7-
<meta name="description" content="This is a sample starter app build using VueJS and Contentstack">
8-
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
9-
<title><%= htmlWebpackPlugin.options.title %></title>
10-
<link rel="preconnect" href="https://fonts.gstatic.com"></link>
11-
<link href="https://fonts.googleapis.com/css?family=Inter&amp;display=swap" rel="stylesheet"/>
12-
</head>
13-
<body>
14-
<noscript>
15-
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
16-
</noscript>
17-
<div id="app"></div>
18-
<!-- built files will be auto injected -->
19-
</body>
20-
</html>
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
8+
<meta name="description" content="This is a sample starter app build using VueJS and Contentstack">
9+
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
10+
<title>
11+
<%= htmlWebpackPlugin.options.title %>
12+
</title>
13+
<link rel="preconnect" href="https://fonts.gstatic.com">
14+
</link>
15+
<link href="https://fonts.googleapis.com/css?family=Inter&amp;display=swap" rel="stylesheet" />
16+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
17+
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
18+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
19+
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
20+
crossorigin="anonymous"></script>
21+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css"
22+
integrity="sha512-YWzhKL2whUzgiheMoBFwW8CKV4qpHQAEuvilg9FAn5VJUDwKZZxkJNuGM4XkWuk94WCrrwslk8yWNGmY1EduTA=="
23+
crossOrigin="anonymous" referrerpolicy="no-referrer" />
24+
</head>
25+
26+
<body>
27+
<noscript>
28+
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
29+
Please enable it to continue.</strong>
30+
</noscript>
31+
<div id="app"></div>
32+
<!-- built files will be auto injected -->
33+
</body>
34+
35+
</html>

src/assets/Devtools.gif

34.8 KB
Loading

0 commit comments

Comments
 (0)