Skip to content

Commit 33edf02

Browse files
committed
We'll figure it out on Monday (C) whatthecommit.com
1 parent d1182de commit 33edf02

File tree

519 files changed

+288
-29
lines changed

Some content is hidden

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

519 files changed

+288
-29
lines changed

.travis.yml

+17-11
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ script:
2828
#
2929
- >
3030
for path in \
31+
vue-bootstrap-css \
3132
refs-work-natively-with-DOM-elements \
3233
eventbus \
3334
vue-parcel \
@@ -38,17 +39,22 @@ script:
3839
done
3940
#
4041
- >
41-
for path in 10-responsive-web-design \
42-
09-nuxt-server-side-rendering \
43-
08-vuex-map-getters-and-map-actions \
44-
07-vue-material \
45-
06-materialize-css \
46-
05-vuex-contact-list \
47-
04-vuex-counter-todo \
48-
03-hello-vuex \
49-
02-todo-list \
50-
01-hello-world \
51-
0-template; do
42+
for path in some-vuetify-app \
43+
vuetify \
44+
vuetifyjs-setup \
45+
firebase-using-vuefire \
46+
responsive-web-design \
47+
nuxt-server-side-rendering \
48+
vuex-map-getters-and-map-actions \
49+
vue-material \
50+
materialize-css \
51+
vuex-contact-list \
52+
vuex-counter-todo \
53+
hello-vuex \
54+
todo-list \
55+
hello-world \
56+
template \
57+
; do
5258
cd ${root}/${path};
5359
yarn install;
5460
yarn predeploy;

README.adoc

+13-13
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

09-nuxt-server-side-rendering/README.md renamed to nuxt-server-side-rendering/README.md

+1-1

09-nuxt-server-side-rendering/nuxt.config.js renamed to nuxt-server-side-rendering/nuxt.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
* Headers of the page
99
*/
1010
head: {
11-
title: '09-nuxt-server-side-rendering',
11+
title: 'nuxt-server-side-rendering',
1212
meta: [
1313
{ charset: 'utf-8' },
1414
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },

09-nuxt-server-side-rendering/pages/index.vue renamed to nuxt-server-side-rendering/pages/index.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div>
55
<logo/>
66
<h1 class="title">
7-
09-nuxt-server-side-rendering
7+
nuxt-server-side-rendering
88
</h1>
99
<h2 class="subtitle">
1010
Nuxt.js server-side rendenring with Vue.js
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

14-some-vuetify-app/src/components/App.vue renamed to some-vuetify-app/src/components/App.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<v-btn flat="">
3737
<i class="fa icon fa-github" />
3838
<a class="btn__content text-decoration--none"
39-
href="https://github.com/daggerok/vue-examples/tree/master/13-vuetify">
39+
href="https://github.com/daggerok/vue-examples/tree/master/vuetify">
4040
GitHub
4141
</a>
4242
</v-btn>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

vue-bootstrap-css/.babelrc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"presets": [
3+
["env", {
4+
"targets": {
5+
"browsers": ["last 2 versions", "safari >= 7", "chrome >= 36", "firefox >= 28"]
6+
}
7+
}],
8+
"vue",
9+
"stage-0"
10+
]
11+
}

vue-bootstrap-css/.gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.idea/
2+
*.iml
3+
*.ipr
4+
*.iws
5+
6+
.cache/
7+
dist/
8+
9+
node_modules/
10+
.DS_Store
11+
*.log*

vue-bootstrap-css/README.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
FILE="$1"
4+
BASE_HREF="$2"
5+
COMMAND="$3"
6+
7+
if ! [ -z "$FILE" ] || ! [ -z "$BASE_HREF" ] || ! [ -z "$COMMAND" ] ; then
8+
if [ -f "$FILE" ]; then
9+
if [ "add" = "$COMMAND" ]; then
10+
sed -i -e "s/<head>/<head><base href=\"\/$BASE_HREF\/\"\/>/g" "$FILE"
11+
fi
12+
if [ "remove" = "$COMMAND" ]; then
13+
sed -i -e "s/<head><base href=\"\/$BASE_HREF\/\"\/>/<head>/g" "$FILE"
14+
fi
15+
rm -rf "$FILE-e"
16+
fi
17+
fi

vue-bootstrap-css/package.json

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"homepage": "https://daggerok.github.io/vue-examples/",
3+
"name": "vue-bootstrap-css-app",
4+
"version": "0.0.0",
5+
"description": "Vue.js + Bootstrap + Tachyons CSS App",
6+
"main": "index.js",
7+
"scripts": {
8+
"predev": "npm run clean",
9+
"dev": "npm-run-all -p dev:*",
10+
"dev:watch": "parcel watch --no-cache src/index.html",
11+
"dev:serve": "parcel serve --no-cache src/index.html",
12+
"start": "parcel src/index.html",
13+
"clean": "rimraf -rf .cache dist",
14+
"prebuild": "npm run clean",
15+
"build": "parcel build src/index.html",
16+
"preserve": "npm run build",
17+
"serve": "browser-sync start --no-notify --single -s ./dist/",
18+
"test": "echo \"Error: no test specified\" && exit 1",
19+
"predeploy": "npm i && npm-run-all predeploy:*",
20+
"predeploy:clean": "npm run clean",
21+
"predeploy:build": "parcel build --public-url /vue-examples/ src/index.html",
22+
"predeploy:add-base-href": "bash ./bin/gh-pages-base-href.bash ./dist/index.html vue-examples add",
23+
"predeploy:gh-pages-404": "ncp ./dist/index.html ./dist/404.html",
24+
"predeploy:nojekyll": "touch ./dist/.nojekyll",
25+
"deploy": "gh-pages -e ./ -d ./dist -s '{*.*,.*,*,**}' --branch gh-pages --dotfiles=true -m \"Github Pages $(date +%Y-%m-%d) deployment\""
26+
},
27+
"keywords": [
28+
"parcel"
29+
],
30+
"author": "Maksim Kostromin <[email protected]> (https://github.com/daggerok)",
31+
"license": "MIT",
32+
"devDependencies": {
33+
"@types/vue": "2.0.0",
34+
"@vue/component-compiler-utils": "2.1.0",
35+
"babel-preset-env": "1.7.0",
36+
"babel-preset-stage-0": "6.24.1",
37+
"babel-preset-vue": "2.0.2",
38+
"browser-sync": "2.24.6",
39+
"gh-pages": "1.2.0",
40+
"ncp": "2.0.0",
41+
"npm-run-all": "4.1.3",
42+
"parcel-bundler": "1.9.7",
43+
"rimraf": "2.6.2",
44+
"vue-template-compiler": "2.5.16"
45+
},
46+
"dependencies": {
47+
"babel-polyfill": "6.26.0",
48+
"bootstrap": "4.1.3",
49+
"tachyons": "4.11.1",
50+
"vue-app": "file:vue"
51+
}
52+
}

vue-bootstrap-css/src/app/App.vue

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<template>
2+
<div>
3+
<ul class="nav nav-tabs">
4+
<li v-on:click="tabId = 'home'"
5+
class="ma2"
6+
v-bind:class="{ active: tabId === 'home' }"><a href="#">Home</a></li>
7+
8+
<li v-on:click="tabId = 'message'"
9+
class="ma2"
10+
v-bind:class="{ active: tabId === 'message' }"><a href="#">Messages</a></li>
11+
12+
<li v-on:click="tabId = 'profile'"
13+
class="ma2"
14+
v-bind:class="{ active: tabId === 'message' }"><a href="#">Profile</a></li>
15+
</ul>
16+
17+
<div class="tab-content">
18+
<div class="tab-pane"
19+
v-bind:class="{ active: tabId === 'home' }">home tab content... ololo</div>
20+
21+
<div class="tab-pane"
22+
v-bind:class="{ active: tabId === 'message' }">message tab content... olololololo-trolololololo</div>
23+
24+
<div class="tab-pane"
25+
v-bind:class="{ active: tabId === 'profile' }">profile tab content... trololo</div>
26+
</div>
27+
</div>
28+
</template>
29+
30+
<script>
31+
export default {
32+
name: 'App',
33+
data() {
34+
return {
35+
tabId: 'message',
36+
};
37+
}
38+
};
39+
</script>
40+
41+
<style scoped>
42+
43+
</style>

vue-bootstrap-css/src/index.html

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport"
6+
content="width=device-width, initial-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<title>Functional JS | Functional Starter</title>
9+
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
10+
<link rel="stylesheet" href="../node_modules/tachyons/css/tachyons.css">
11+
<link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.css">
12+
</head>
13+
<body>
14+
<div id="app"></div>
15+
<script src="./main.js"></script>
16+
</body>
17+
</html>

vue-bootstrap-css/src/main.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import 'babel-polyfill';
2+
3+
import Vue from 'vue';
4+
import App from './app/App';
5+
6+
new Vue({
7+
el: '#app',
8+
render: h => h(App)
9+
});

vue-bootstrap-css/vue/.babelrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"presets": [
3+
"env",
4+
"vue",
5+
"stage-0"
6+
]
7+
}

vue-bootstrap-css/vue/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.cache
2+
node_modules
3+
dist

vue-bootstrap-css/vue/package.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"scripts": {
3+
"start": "parcel serve src/",
4+
"build": "parcel build src/index.html"
5+
},
6+
"name": "vue-app",
7+
"version": "1.0.0",
8+
"main": "index.js",
9+
"keywords": [],
10+
"author": "Maksim Kostromin <[email protected]> (https://github.com/daggerok)",
11+
"license": "MIT",
12+
"description": "",
13+
"devDependencies": {
14+
"@vue/component-compiler-utils": "2.0.0",
15+
"babel-preset-env": "1.7.0",
16+
"babel-preset-stage-0": "6.24.1",
17+
"babel-preset-vue": "2.0.2",
18+
"parcel-bundler": "1.9.3",
19+
"vue-template-compiler": "2.5.16"
20+
},
21+
"dependencies": {
22+
"babel-polyfill": "6.26.0",
23+
"vue": "2.5.16",
24+
"vue-hot-reload-api": "2.3.0"
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<template lang="html">
2+
<div id="app">
3+
<h1>Hey! 📦 🚀</h1>
4+
</div>
5+
</template>
6+
7+
<script>
8+
export default {
9+
name: 'app'
10+
}
11+
</script>
12+
13+
<style lang="css">
14+
html,
15+
body {
16+
height: 100%;
17+
}
18+
body {
19+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial,
20+
sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
21+
}
22+
#app {
23+
display: flex;
24+
justify-content: center;
25+
align-items: center;
26+
height: 100%;
27+
}
28+
h1 {
29+
font-weight: 300;
30+
}
31+
</style>

vue-bootstrap-css/vue/src/index.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport"
6+
content="width=device-width, initial-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<title>Vue | Parcel</title>
9+
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
10+
</head>
11+
<body>
12+
<div id="app"></div>
13+
<script src="./main.js"></script>
14+
</body>
15+
</html>

vue-bootstrap-css/vue/src/main.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import 'babel-polyfill';
2+
//tag::content[]
3+
import Vue from 'vue'
4+
import App from './components/App.vue'
5+
6+
new Vue({
7+
el: '#app',
8+
render: h => h(App)
9+
});
10+
//end::content[]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)