Skip to content

Commit 02bce50

Browse files
committed
initial commit
0 parents  commit 02bce50

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+2667
-0
lines changed

.env

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

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.DS_Store
2+
node_modules
3+
package-lock.json
4+
/dist
5+
6+
7+
# local env files
8+
.env.local
9+
.env.*.local
10+
11+
# Log files
12+
npm-debug.log*
13+
yarn-debug.log*
14+
yarn-error.log*
15+
pnpm-debug.log*
16+
17+
# Editor directories and files
18+
.idea
19+
.vscode
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
25+
26+
.vercel

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Contentstack
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[![Contentstack](https://camo.githubusercontent.com/d24f513afa94a4a762533d54a0f590300dbd0413/68747470733a2f2f7777772e636f6e74656e74737461636b2e636f6d2f646f63732f7374617469632f696d616765732f636f6e74656e74737461636b2e706e67)](https://www.contentstack.com/)
2+
3+
# Create a marketing website using VueJS
4+
5+
About Contentstack: Contentstack is a headless CMS with an API-first approach that puts content at the centre. It is designed to simplify the process of publication by separating code from content.
6+
7+
About this project: Create professional marketing-themed website using VueJS & Contentstack.
8+
9+
![contentstack-vuejs-starter-app](/public/readme.png)
10+
11+
## Live Demo
12+
13+
You can check the [live demo](https://contentstack-vuejs-starter-app.vercel.app/) to get first-hand experience of the website.
14+
15+

babel.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: ['@vue/cli-plugin-babel/preset']
3+
};

package.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"name": "contentstack-vuejs-starter-app",
3+
"version": "1.0.0",
4+
"description": "A simple starter app build using VueJS and Contentstack",
5+
"author": "Contentstack",
6+
"license": "MIT",
7+
"private": true,
8+
"scripts": {
9+
"serve": "vue-cli-service serve --port 3000",
10+
"build": "vue-cli-service build",
11+
"lint": "vue-cli-service lint"
12+
},
13+
"dependencies": {
14+
"contentstack": "^3.12.2",
15+
"core-js": "^3.6.5",
16+
"moment": "^2.29.1",
17+
"register-service-worker": "^1.7.1",
18+
"vue": "^3.0.0",
19+
"vue-meta": "^2.4.0",
20+
"vue-router": "^4.0.5"
21+
},
22+
"devDependencies": {
23+
"@vue/cli-plugin-babel": "~4.5.0",
24+
"@vue/cli-plugin-eslint": "~4.5.0",
25+
"@vue/cli-plugin-pwa": "^4.5.12",
26+
"@vue/cli-service": "~4.5.0",
27+
"@vue/compiler-sfc": "^3.0.0",
28+
"babel-eslint": "^10.1.0",
29+
"eslint": "^6.7.2",
30+
"eslint-config-prettier": "^8.1.0",
31+
"eslint-plugin-prettier": "^3.3.1",
32+
"eslint-plugin-vue": "^7.0.0"
33+
},
34+
"eslintConfig": {
35+
"root": true,
36+
"env": {
37+
"node": true
38+
},
39+
"extends": [
40+
"plugin:vue/vue3-essential",
41+
"eslint:recommended",
42+
"plugin:prettier/recommended"
43+
],
44+
"parserOptions": {
45+
"parser": "babel-eslint"
46+
},
47+
"rules": {}
48+
},
49+
"repository": {
50+
"type": "git",
51+
"url": ""
52+
},
53+
"bugs": {
54+
"url": "https://github.com/contentstack/contentstack-vuejs-starter-app"
55+
},
56+
"keywords": [
57+
"VueJS",
58+
"Contentstack"
59+
],
60+
"browserslist": [
61+
"> 1%",
62+
"last 2 versions",
63+
"not dead"
64+
],
65+
"prettier": {
66+
"singleQuote": true
67+
}
68+
}

public/favicon.ico

4.19 KB
Binary file not shown.
9.2 KB
Loading
29.1 KB
Loading
Loading
Loading
3.29 KB
Loading
3.95 KB
Loading
4.57 KB
Loading
1.46 KB
Loading
1.78 KB
Loading

public/img/icons/apple-touch-icon.png

4.57 KB
Loading

public/img/icons/favicon-16x16.png

799 Bytes
Loading

public/img/icons/favicon-32x32.png

1.24 KB
Loading
1.14 KB
Loading

public/img/icons/mstile-150x150.png

4.18 KB
Loading
Lines changed: 3 additions & 0 deletions
Loading

public/index.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!DOCTYPE html>
2+
<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>

public/readme.png

704 KB
Loading

public/robots.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-agent: *
2+
Disallow:

src/App.vue

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<template>
2+
<div>
3+
<Header />
4+
<router-view />
5+
<Footer />
6+
</div>
7+
</template>
8+
9+
<script>
10+
import Header from '@/components/Header.vue';
11+
import Footer from '@/components/Footer.vue';
12+
13+
export default {
14+
name: 'App',
15+
components: {
16+
Header,
17+
Footer
18+
}
19+
};
20+
</script>

0 commit comments

Comments
 (0)