Skip to content

Commit 13970a4

Browse files
committed
Vue CLI updated to 4.0.4, Sass loader 8.0.0, Babel polyfill replaced with core-js import
1 parent 992e53d commit 13970a4

File tree

7 files changed

+1130
-600
lines changed

7 files changed

+1130
-600
lines changed

AspNetCoreVueStarter.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<Copyright>MIT 2019 Software Ateliers</Copyright>
1414
<AssemblyName>AspNetCoreVueStarter</AssemblyName>
1515
<RootNamespace>AspNetCoreVueStarter</RootNamespace>
16-
<Version>1.1.0</Version>
17-
<AssemblyVersion>1.1.0.0</AssemblyVersion>
16+
<Version>2.1.0</Version>
17+
<AssemblyVersion>2.1.0.0</AssemblyVersion>
1818
<FileVersion>1.1.0.0</FileVersion>
1919
</PropertyGroup>
2020

ClientApp/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
"presets": [
33
[
4-
"@vue/app",
4+
"@vue/cli-plugin-babel/preset",
55
{
66
"useBuiltIns": "entry"
77
}

ClientApp/package-lock.json

Lines changed: 1110 additions & 581 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ClientApp/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,31 @@
88
"lint": "vue-cli-service lint"
99
},
1010
"dependencies": {
11-
"date-fns": "^2.4.1",
11+
"core-js": "^3.1.2",
12+
"date-fns": "^2.5.1",
1213
"register-service-worker": "^1.6.2",
1314
"vue": "^2.6.10",
1415
"vue-class-component": "^7.1.0",
15-
"vue-property-decorator": "^8.2.2",
16+
"vue-property-decorator": "^8.3.0",
1617
"vue-router": "^3.1.3",
17-
"vuetify": "^2.1.4",
18+
"vuetify": "^2.1.5",
1819
"vuex": "^3.1.1",
1920
"vuex-class": "^0.3.2"
2021
},
2122
"devDependencies": {
22-
"@babel/polyfill": "^7.6.0",
2323
"@mdi/font": "^4.5.95",
24-
"@types/node": "^12.11.1",
25-
"@vue/cli-plugin-babel": "^3.12.0",
26-
"@vue/cli-plugin-pwa": "^3.12.0",
27-
"@vue/cli-plugin-typescript": "^3.12.0",
28-
"@vue/cli-service": "^3.12.0",
24+
"@types/node": "^12.11.2",
25+
"@vue/cli-plugin-babel": "^4.0.4",
26+
"@vue/cli-plugin-pwa": "^4.0.4",
27+
"@vue/cli-plugin-typescript": "^4.0.4",
28+
"@vue/cli-service": "^4.0.4",
2929
"axios": "^0.19.0",
3030
"babel-plugin-transform-imports": "^2.0.0",
3131
"sass": "^1.23.0",
32-
"sass-loader": "^7.1.0",
32+
"sass-loader": "^8.0.0",
3333
"typescript": "^3.6.4",
3434
"vue-cli-plugin-axios": "0.0.4",
35-
"vue-cli-plugin-vuetify": "^1.0.1",
35+
"vue-cli-plugin-vuetify": "^1.1.1",
3636
"vue-template-compiler": "^2.6.10",
3737
"vuetify-loader": "^1.3.0"
3838
}

ClientApp/src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import '@babel/polyfill';
1+
import 'core-js/stable';
2+
import 'regenerator-runtime/runtime';
23
import Vue from 'vue';
34
import './plugins/axios';
45
import vuetify from './plugins/vuetify';

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ASP.NET Core Vue Starter
22

3-
The repository contains an ASP.&#8203;NET Core + Vue.js starter template. The template is created by Vue CLI 3.0 with a new plugin based architecture allowing developers to interactively scaffold a new project with just a one command.
3+
The repository contains an ASP.&#8203;NET Core + Vue.js starter template. The template runs on ASP.NET Core 3.0 and is created by Vue CLI 4.0 with a new plugin based architecture allowing developers to interactively scaffold a new project with just a one command.
44

55
Original article how to create the starter template is available [here](https://medium.com/software-ateliers/asp-net-core-vue-template-with-custom-configuration-using-cli-3-0-8288e18ae80b).
66

@@ -32,7 +32,7 @@ Original article how to create the starter template is available [here](https://
3232
* Web.API
3333
* Vue CLI and JavaScript Services middlewares to integrate with client app
3434

35-
**Vue.js with CLI 3.0 supporting optional integrations:**
35+
**Vue.js with CLI 4.0 supporting optional integrations:**
3636

3737
* TypeScript
3838
* Progressive Web App
@@ -47,7 +47,7 @@ Original article how to create the starter template is available [here](https://
4747

4848
* [.NET Core](https://www.microsoft.com/net/download/windows) >= 3.0
4949
* [NodeJS](https://nodejs.org/) >= 8.9
50-
* [Vue CLI](https://cli.vuejs.org/) >= 3.0
50+
* [Vue CLI](https://cli.vuejs.org/) >= 4.0
5151
* Your favourite editor (I prefer [VS Code](https://code.visualstudio.com/)), or VS 2017/19
5252

5353
---

SoftwareAteliers.AspNetCoreVueStarter.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
<id>SoftwareAteliers.AspNetCoreVueStarter</id>
5-
<version>2.0.0</version>
5+
<version>2.1.0</version>
66
<description>
77
ASP.NET Core + Vue.js starter project
88
</description>

0 commit comments

Comments
 (0)