Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d4d0b78

Browse files
author
Anthony Gore
committed
Merge branch 'lecture/136' into lecture/138
2 parents 273c1af + 7e58dfc commit d4d0b78

File tree

3 files changed

+77
-55
lines changed

3 files changed

+77
-55
lines changed

README.md

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,60 @@
11
# Ultimate Vue.js Developers Course
22

3-
Source code for the [Ultimate Vue.js Developers Course](https://www.udemy.com/course/1022582) on Udemy.
3+
Source code for the [Ultimate Vue.js Developers Course](http://bit.ly/2mPK8ny).
44

55
### Project 3: Vue.js Calendar
66

77
#### Demo
88

9-
See the completed project here: [https://vuejs-calendar.getjsdojo.com/](https://vuejs-calendar.getjsdojo.com/)
9+
See the completed project here: [http://vuejs-calendar.vuejsdevelopers.com/](http://vuejs-calendar.vuejsdevelopers.com/)
10+
11+
#### Pre-installation
12+
13+
- Ensure [Node.js >=5.10](https://nodejs.org/en/download/), [NPM](https://docs.npmjs.com) and [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) are installed on your system
1014

1115
#### Installation
1216

13-
1. Clone this repository on your local file system
17+
1. Install this code on your local system
18+
19+
1. Fork this repository (click 'Fork' button in top right corner)
20+
2. Clone the forked repository on your local file system
21+
22+
```
23+
cd /path/to/install/location
24+
25+
git clone https://github.com/[your_username]/vuejs-calendar.git
26+
```
27+
28+
2. Change into directory
1429
1530
```
16-
cd /path/to/install/location
17-
git clone [email protected]:getjsdojo/vuejs-calendar.git
31+
cd vuejs-calendar
1832
```
19-
20-
2. Install dependencies
33+
34+
3. Install dependencies
2135
2236
```
37+
cd vuejs-calendar
2338
npm install
2439
```
2540
26-
3. Create a `.env` file by copying the sample
41+
4. Create a `.env` file by copying the sample
2742
2843
```
2944
cp .env_sample .env
3045
```
3146
3247
Edit the .env file and replace any variables if needed
3348
34-
4. Start project
49+
5. Start project
3550
3651
```
3752
npm run start
3853
```
3954
40-
5. Your site will be available at *localhost:[PORT]* where `PORT` is whatever value is set in your `.env` file.
55+
Your site will be available at *localhost:[PORT]* where `PORT` is whatever value is set in your `.env` file.
4156
4257
43-
#### Udemy lecture branches
58+
#### Lecture branches
4459
4560
Note that branches in the repo named `lecture/xxx` correspond to course lectures.

package.json

Lines changed: 47 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,64 @@
11
{
22
"name": "vue-calendar",
3-
"version": "1.0.0",
4-
"description": "Ultimate Vue.js course",
3+
"version": "1.1.0",
4+
"description": "Ultimate Vue.js Developers Course - Vue.js Calendar",
55
"main": "server.js",
6-
"author": "Anthony Gore <info@getjsdojo.com>",
6+
"author": "Anthony Gore <anthony@vuejsdevelopers.com>",
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/getjsdojo/vuejs-poster-shop"
9+
"url": "https://github.com/vuejsdevelopers/vuejs-calendar"
1010
},
1111
"license": "UNLICENSED",
1212
"scripts": {
1313
"start": "nodemon ./server.js --ignore src/ -e js,html,css",
1414
"build": "rimraf dist && cross-env NODE_ENV=production webpack --config webpack.config.js --progress --hide-modules",
1515
"webpack-config-output": "rimraf tmp && mkdir tmp && cross-env NODE_ENV=production node ./scripts/webpack-config-output.js && cross-env NODE_ENV=development node ./scripts/webpack-config-output.js"
1616
},
17+
"engines": {
18+
"node": ">=5.10"
19+
},
1720
"dependencies": {
18-
"body-parser": "^1.15.2",
19-
"cross-env": "^3.1.3",
20-
"dotenv": "^2.0.0",
21-
"express": "^4.14.0",
22-
"moment": "^2.17.1",
23-
"moment-timezone": "^0.5.11",
24-
"nodemon": "^1.11.0",
25-
"reload": "^1.1.0",
26-
"request": "^2.79.0",
27-
"serialize-javascript": "^1.3.0",
28-
"vue-server-renderer": "^2.1.8"
21+
"body-parser": "~1.15.2",
22+
"cross-env": "~3.1.3",
23+
"dotenv": "~2.0.0",
24+
"express": "~4.14.0",
25+
"moment": "~2.17.1",
26+
"moment-timezone": "~0.5.11",
27+
"nodemon": "~1.11.0",
28+
"reload": "~1.1.0",
29+
"request": "~2.79.0",
30+
"serialize-javascript": "~1.3.0",
31+
"vue-server-renderer": "~2.1.8"
2932
},
3033
"devDependencies": {
3134
"axios": "^0.15.3",
32-
"babel-core": "^6.0.0",
33-
"babel-loader": "^6.0.0",
34-
"babel-plugin-transform-es2015-destructuring": "^6.19.0",
35-
"babel-plugin-transform-runtime": "^6.22.0",
36-
"babel-preset-es2015": "^6.0.0",
37-
"cross-env": "^3.0.0",
38-
"css-loader": "^0.25.0",
39-
"extract-text-webpack-plugin": "^2.0.0-beta.5",
40-
"file-loader": "^0.9.0",
41-
"js-object-pretty-print": "^0.2.0",
42-
"node-sass": "^4.1.1",
43-
"open": "0.0.5",
44-
"sass-loader": "^4.1.1",
45-
"style-loader": "^0.13.1",
46-
"uglify-js": "git://github.com/mishoo/UglifyJS2.git#harmony",
47-
"vue": "^2.1.0",
48-
"vue-loader": "^10.0.0",
49-
"vue-style-loader": "^1.0.0",
50-
"vue-template-compiler": "^2.1.0",
51-
"vuex": "^2.1.1",
52-
"webpack": "^2.2.0-rc.3",
53-
"webpack-dev-middleware": "^1.9.0",
54-
"webpack-hot-middleware": "^2.14.0",
55-
"webpack-merge": "^2.3.1",
56-
"webpack-module-hot-accept": "^1.0.4"
35+
"babel-core": "~6.26.0",
36+
"babel-loader": "~6.4.1",
37+
"babel-plugin-es6-promise": "~1.1.1",
38+
"babel-plugin-transform-es2015-destructuring": "~6.23.0",
39+
"babel-plugin-transform-runtime": "~6.23.0",
40+
"babel-preset-env": "~1.6.1",
41+
"cross-env": "~3.0.0",
42+
"css-loader": "~0.25.0",
43+
"es6-promise": "~4.2.4",
44+
"extract-text-webpack-plugin": "~2.1.2",
45+
"file-loader": "~0.9.0",
46+
"js-object-pretty-print": "~0.2.0",
47+
"node-sass": "~4.1.1",
48+
"open": "~0.0.5",
49+
"sass-loader": "~4.1.1",
50+
"style-loader": "~0.13.1",
51+
"uglify-js": "~3.0.28",
52+
"vue": "~2.1.0",
53+
"vue-loader": "~10.0.0",
54+
"vue-resource": "~1.0.3",
55+
"vue-style-loader": "~1.0.0",
56+
"vue-template-compiler": "~2.1.0",
57+
"vuex": "~2.1.1",
58+
"webpack": "~2.7.0",
59+
"webpack-dev-middleware": "~1.9.0",
60+
"webpack-hot-middleware": "~2.14.0",
61+
"webpack-merge": "~2.3.1",
62+
"webpack-module-hot-accept": "~1.0.4"
5763
}
58-
}
64+
}

webpack.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ var baseConfig = {
1717
use: [{
1818
loader: 'babel-loader',
1919
options: {
20-
"presets": [ [ "es2015" ] ],
21-
"plugins": [ "transform-es2015-destructuring", "transform-runtime" ]
20+
"presets": [ [ "env" ] ],
21+
"plugins": [ "transform-es2015-destructuring", "transform-runtime", "es6-promise" ]
2222
}
2323
}],
2424
exclude: /node_modules/
@@ -41,6 +41,7 @@ var baseConfig = {
4141
options: {
4242
loaders: {
4343
'scss': 'vue-style-loader!css-loader!sass-loader',
44+
'js': 'babel-loader?presets[]=env'
4445
}
4546
}
4647
}
@@ -106,4 +107,4 @@ let targets = [ 'web', 'node' ].map((target) => {
106107
return obj;
107108
});
108109

109-
module.exports = targets;
110+
module.exports = targets;

0 commit comments

Comments
 (0)