Skip to content

Commit 45462d4

Browse files
committing all the initial source code
1 parent 236d299 commit 45462d4

21 files changed

+12330
-0
lines changed

.babelrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"presets": [
3+
["env", {
4+
"modules": false,
5+
"targets": {
6+
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
7+
}
8+
}],
9+
"stage-2"
10+
],
11+
"plugins": ["transform-vue-jsx", "transform-runtime"]
12+
}

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.gitignore

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
.vscode
10+
11+
# Distribution / packaging
12+
.Python
13+
env/
14+
build/
15+
develop-eggs/
16+
dist/
17+
downloads/
18+
eggs/
19+
.eggs/
20+
lib64/
21+
parts/
22+
sdist/
23+
var/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a template
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*,cover
47+
.hypothesis/
48+
49+
# Translations
50+
*.mo
51+
*.pot
52+
53+
# Django stuff:
54+
*.log
55+
local_settings.py
56+
57+
# Flask stuff:
58+
instance/
59+
.webassets-cache
60+
61+
# Scrapy stuff:
62+
.scrapy
63+
64+
# Sphinx documentation
65+
docs/_build/
66+
67+
# PyBuilder
68+
target/
69+
70+
# IPython Notebook
71+
.ipynb_checkpoints
72+
73+
# pyenv
74+
.python-version
75+
76+
# celery beat schedule file
77+
celerybeat-schedule
78+
79+
# dotenv
80+
.env
81+
82+
# virtualenv
83+
venv/
84+
ENV/
85+
86+
# Spyder project settings
87+
.spyderproject
88+
89+
# Rope project settings
90+
.ropeproject
91+
.DS_Store
92+
93+
#
94+
# Custom added gitignore
95+
#
96+
97+
# Mac
98+
.idea/
99+
100+
# Node modules
101+
.DS_Store
102+
node_modules/
103+
/dist/
104+
npm-debug.log*
105+
yarn-debug.log*
106+
yarn-error.log*
107+
108+
# Editor directories and files
109+
.idea
110+
.vscode
111+
*.suo
112+
*.ntvs*
113+
*.njsproj
114+
*.sln

.postcssrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// https://github.com/michael-ciniawsky/postcss-load-config
2+
3+
module.exports = {
4+
"plugins": {
5+
"postcss-import": {},
6+
"postcss-url": {},
7+
// to edit target browsers: use "browserslist" field in package.json
8+
"autoprefixer": {}
9+
}
10+
}

config/dev.env.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
'use strict'
2+
const merge = require('webpack-merge')
3+
const prodEnv = require('./prod.env')
4+
5+
module.exports = merge(prodEnv, {
6+
NODE_ENV: '"development"'
7+
})

config/index.js

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
'use strict'
2+
// Template version: 1.3.1
3+
// see http://vuejs-templates.github.io/webpack for documentation.
4+
5+
const path = require('path')
6+
7+
module.exports = {
8+
dev: {
9+
10+
// Paths
11+
assetsSubDirectory: 'static',
12+
assetsPublicPath: '/',
13+
proxyTable: {},
14+
15+
// Various Dev Server settings
16+
host: 'localhost', // can be overwritten by process.env.HOST
17+
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
18+
autoOpenBrowser: false,
19+
errorOverlay: true,
20+
notifyOnErrors: true,
21+
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
22+
23+
24+
/**
25+
* Source Maps
26+
*/
27+
28+
// https://webpack.js.org/configuration/devtool/#development
29+
devtool: 'cheap-module-eval-source-map',
30+
31+
// If you have problems debugging vue-files in devtools,
32+
// set this to false - it *may* help
33+
// https://vue-loader.vuejs.org/en/options.html#cachebusting
34+
cacheBusting: true,
35+
36+
cssSourceMap: true
37+
},
38+
39+
build: {
40+
// Template for index.html
41+
index: path.resolve(__dirname, '../dist/index.html'),
42+
43+
// Paths
44+
assetsRoot: path.resolve(__dirname, '../dist'),
45+
assetsSubDirectory: 'static',
46+
assetsPublicPath: '/',
47+
48+
/**
49+
* Source Maps
50+
*/
51+
52+
productionSourceMap: true,
53+
// https://webpack.js.org/configuration/devtool/#production
54+
devtool: '#source-map',
55+
56+
// Gzip off by default as many popular static hosts such as
57+
// Surge or Netlify already gzip all static assets for you.
58+
// Before setting to `true`, make sure to:
59+
// npm install --save-dev compression-webpack-plugin
60+
productionGzip: false,
61+
productionGzipExtensions: ['js', 'css'],
62+
63+
// Run the build command with an extra argument to
64+
// View the bundle analyzer report after build finishes:
65+
// `npm run build --report`
66+
// Set to `true` or `false` to always turn it on or off
67+
bundleAnalyzerReport: process.env.npm_config_report
68+
}
69+
}

config/prod.env.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
'use strict'
2+
module.exports = {
3+
NODE_ENV: '"production"'
4+
}

index.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!DOCTYPE html>
2+
3+
<!--This class for appropriate padding of fixed navbar-->
4+
<html class="has-navbar-fixed-top">
5+
6+
<!--Website Head-->
7+
<head>
8+
<meta charset="utf-8">
9+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
10+
<title>bulma-vuejs-demo-website</title>
11+
12+
<!--Custom CSS-->
13+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.2/css/bulma.min.css">
14+
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
15+
</head>
16+
17+
<!--Website Body-->
18+
<body>
19+
<div id="app"></div>
20+
<!-- built files will be auto injected -->
21+
</body>
22+
23+
</html>

0 commit comments

Comments
 (0)