Skip to content

Commit 8718f95

Browse files
author
Ferry To
committed
Initial commit
0 parents  commit 8718f95

18 files changed

+618
-0
lines changed

.babelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"presets": [
3+
"es2015", "stage-2"
4+
]
5+
}

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.gitignore

Lines changed: 308 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,308 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
##
4+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5+
6+
#js dependencies
7+
wwwroot/dist/
8+
wwwroot/dist/*.*
9+
##already included
10+
#node_modules/
11+
*lock.json
12+
13+
# User-specific files
14+
*.suo
15+
*.user
16+
*.userosscache
17+
*.sln.docstates
18+
19+
# User-specific files (MonoDevelop/Xamarin Studio)
20+
*.userprefs
21+
22+
# Build results
23+
[Dd]ebug/
24+
[Dd]ebugPublic/
25+
[Rr]elease/
26+
[Rr]eleases/
27+
x64/
28+
x86/
29+
bld/
30+
[Bb]in/
31+
[Oo]bj/
32+
[Ll]og/
33+
34+
# Visual Studio 2015 cache/options directory
35+
.vs/
36+
# Uncomment if you have tasks that create the project's static files in wwwroot
37+
#wwwroot/
38+
39+
# MSTest test Results
40+
[Tt]est[Rr]esult*/
41+
[Bb]uild[Ll]og.*
42+
43+
# NUNIT
44+
*.VisualState.xml
45+
TestResult.xml
46+
47+
# Build Results of an ATL Project
48+
[Dd]ebugPS/
49+
[Rr]eleasePS/
50+
dlldata.c
51+
52+
# Benchmark Results
53+
BenchmarkDotNet.Artifacts/
54+
55+
# .NET Core
56+
project.lock.json
57+
project.fragment.lock.json
58+
artifacts/
59+
**/Properties/launchSettings.json
60+
61+
*_i.c
62+
*_p.c
63+
*_i.h
64+
*.ilk
65+
*.meta
66+
*.obj
67+
*.pch
68+
*.pdb
69+
*.pgc
70+
*.pgd
71+
*.rsp
72+
*.sbr
73+
*.tlb
74+
*.tli
75+
*.tlh
76+
*.tmp
77+
*.tmp_proj
78+
*.log
79+
*.vspscc
80+
*.vssscc
81+
.builds
82+
*.pidb
83+
*.svclog
84+
*.scc
85+
86+
# Chutzpah Test files
87+
_Chutzpah*
88+
89+
# Visual C++ cache files
90+
ipch/
91+
*.aps
92+
*.ncb
93+
*.opendb
94+
*.opensdf
95+
*.sdf
96+
*.cachefile
97+
*.VC.db
98+
*.VC.VC.opendb
99+
100+
# Visual Studio profiler
101+
*.psess
102+
*.vsp
103+
*.vspx
104+
*.sap
105+
106+
# TFS 2012 Local Workspace
107+
$tf/
108+
109+
# Guidance Automation Toolkit
110+
*.gpState
111+
112+
# ReSharper is a .NET coding add-in
113+
_ReSharper*/
114+
*.[Rr]e[Ss]harper
115+
*.DotSettings.user
116+
117+
# JustCode is a .NET coding add-in
118+
.JustCode
119+
120+
# TeamCity is a build add-in
121+
_TeamCity*
122+
123+
# DotCover is a Code Coverage Tool
124+
*.dotCover
125+
126+
# AxoCover is a Code Coverage Tool
127+
.axoCover/*
128+
!.axoCover/settings.json
129+
130+
# Visual Studio code coverage results
131+
*.coverage
132+
*.coveragexml
133+
134+
# NCrunch
135+
_NCrunch_*
136+
.*crunch*.local.xml
137+
nCrunchTemp_*
138+
139+
# MightyMoose
140+
*.mm.*
141+
AutoTest.Net/
142+
143+
# Web workbench (sass)
144+
.sass-cache/
145+
146+
# Installshield output folder
147+
[Ee]xpress/
148+
149+
# DocProject is a documentation generator add-in
150+
DocProject/buildhelp/
151+
DocProject/Help/*.HxT
152+
DocProject/Help/*.HxC
153+
DocProject/Help/*.hhc
154+
DocProject/Help/*.hhk
155+
DocProject/Help/*.hhp
156+
DocProject/Help/Html2
157+
DocProject/Help/html
158+
159+
# Click-Once directory
160+
publish/
161+
162+
# Publish Web Output
163+
*.[Pp]ublish.xml
164+
*.azurePubxml
165+
# Note: Comment the next line if you want to checkin your web deploy settings,
166+
# but database connection strings (with potential passwords) will be unencrypted
167+
*.pubxml
168+
*.publishproj
169+
170+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
171+
# checkin your Azure Web App publish settings, but sensitive information contained
172+
# in these scripts will be unencrypted
173+
PublishScripts/
174+
175+
# NuGet Packages
176+
*.nupkg
177+
# The packages folder can be ignored because of Package Restore
178+
**/packages/*
179+
# except build/, which is used as an MSBuild target.
180+
!**/packages/build/
181+
# Uncomment if necessary however generally it will be regenerated when needed
182+
#!**/packages/repositories.config
183+
# NuGet v3's project.json files produces more ignorable files
184+
*.nuget.props
185+
*.nuget.targets
186+
187+
# Microsoft Azure Build Output
188+
csx/
189+
*.build.csdef
190+
191+
# Microsoft Azure Emulator
192+
ecf/
193+
rcf/
194+
195+
# Windows Store app package directories and files
196+
AppPackages/
197+
BundleArtifacts/
198+
Package.StoreAssociation.xml
199+
_pkginfo.txt
200+
*.appx
201+
202+
# Visual Studio cache files
203+
# files ending in .cache can be ignored
204+
*.[Cc]ache
205+
# but keep track of directories ending in .cache
206+
!*.[Cc]ache/
207+
208+
# Others
209+
ClientBin/
210+
~$*
211+
*~
212+
*.dbmdl
213+
*.dbproj.schemaview
214+
*.jfm
215+
*.pfx
216+
*.publishsettings
217+
orleans.codegen.cs
218+
219+
# Since there are multiple workflows, uncomment next line to ignore bower_components
220+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
221+
#bower_components/
222+
223+
# RIA/Silverlight projects
224+
Generated_Code/
225+
226+
# Backup & report files from converting an old project file
227+
# to a newer Visual Studio version. Backup files are not needed,
228+
# because we have git ;-)
229+
_UpgradeReport_Files/
230+
Backup*/
231+
UpgradeLog*.XML
232+
UpgradeLog*.htm
233+
234+
# SQL Server files
235+
*.mdf
236+
*.ldf
237+
*.ndf
238+
239+
# Business Intelligence projects
240+
*.rdl.data
241+
*.bim.layout
242+
*.bim_*.settings
243+
244+
# Microsoft Fakes
245+
FakesAssemblies/
246+
247+
# GhostDoc plugin setting file
248+
*.GhostDoc.xml
249+
250+
# Node.js Tools for Visual Studio
251+
.ntvs_analysis.dat
252+
node_modules/
253+
254+
# Typescript v1 declaration files
255+
typings/
256+
257+
# Visual Studio 6 build log
258+
*.plg
259+
260+
# Visual Studio 6 workspace options file
261+
*.opt
262+
263+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
264+
*.vbw
265+
266+
# Visual Studio LightSwitch build output
267+
**/*.HTMLClient/GeneratedArtifacts
268+
**/*.DesktopClient/GeneratedArtifacts
269+
**/*.DesktopClient/ModelManifest.xml
270+
**/*.Server/GeneratedArtifacts
271+
**/*.Server/ModelManifest.xml
272+
_Pvt_Extensions
273+
274+
# Paket dependency manager
275+
.paket/paket.exe
276+
paket-files/
277+
278+
# FAKE - F# Make
279+
.fake/
280+
281+
# JetBrains Rider
282+
.idea/
283+
*.sln.iml
284+
285+
# CodeRush
286+
.cr/
287+
288+
# Python Tools for Visual Studio (PTVS)
289+
__pycache__/
290+
*.pyc
291+
292+
# Cake - Uncomment if you are using it
293+
# tools/**
294+
# !tools/packages.config
295+
296+
# Tabs Studio
297+
*.tss
298+
299+
# Telerik's JustMock configuration file
300+
*.jmconfig
301+
302+
# BizTalk build output
303+
*.btp.cs
304+
*.btm.cs
305+
*.odx.cs
306+
*.xsd.cs
307+
wwwroot/dist/main-client.js
308+
package-lock.json

.vscode/launch.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
// Use IntelliSense to find out which attributes exist for C# debugging
3+
// Use hover for the description of the existing attributes
4+
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": ".NET Core Launch (web)",
9+
"type": "coreclr",
10+
"request": "launch",
11+
"preLaunchTask": "build",
12+
// If you have changed target frameworks, make sure to update the program path.
13+
"program": "${workspaceFolder}/bin/Debug/netcoreapp2.0/vdn.dll",
14+
"args": [],
15+
"cwd": "${workspaceFolder}",
16+
"stopAtEntry": false,
17+
"internalConsoleOptions": "openOnSessionStart",
18+
"launchBrowser": {
19+
"enabled": true,
20+
"args": "${auto-detect-url}",
21+
"windows": {
22+
"command": "cmd.exe",
23+
"args": "/C start ${auto-detect-url}"
24+
},
25+
"osx": {
26+
"command": "open"
27+
},
28+
"linux": {
29+
"command": "xdg-open"
30+
}
31+
},
32+
"env": {
33+
"ASPNETCORE_ENVIRONMENT": "Development"
34+
},
35+
"sourceFileMap": {
36+
"/Views": "${workspaceFolder}/Views"
37+
}
38+
},
39+
{
40+
"name": ".NET Core Attach",
41+
"type": "coreclr",
42+
"request": "attach",
43+
"processId": "${command:pickProcess}"
44+
}
45+
]
46+
}

.vscode/tasks.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"taskName": "build",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"${workspaceFolder}/vdn.csproj"
11+
],
12+
"problemMatcher": "$msCompile"
13+
}
14+
]
15+
}

ClientApp/app.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import Vue from 'vue';
2+
import App from './components/App.vue';
3+
4+
const app = new Vue({
5+
...App //... is spread operator if App is Array; is rest(remaining) properties if App is Object
6+
});
7+
8+
app.$mount('#app');

0 commit comments

Comments
 (0)