Skip to content

Commit

Permalink
Reconstruct sample-app with @vue/cli 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Inndy committed Sep 15, 2018
1 parent a637564 commit a264653
Show file tree
Hide file tree
Showing 25 changed files with 5,075 additions and 2,706 deletions.
14 changes: 0 additions & 14 deletions sample-app/.babelrc

This file was deleted.

9 changes: 0 additions & 9 deletions sample-app/.editorconfig

This file was deleted.

19 changes: 17 additions & 2 deletions sample-app/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
.DS_Store
node_modules/
dist/
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
8 changes: 0 additions & 8 deletions sample-app/.postcssrc.js

This file was deleted.

30 changes: 15 additions & 15 deletions sample-app/README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# sample-app

> A Vue.js project
## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev
## Project setup
```
yarn install
```

# build for production with minification
npm run build
### Compiles and hot-reloads for development
```
yarn run serve
```

# build for production and view the bundle analyzer report
npm run build --report
### Compiles and minifies for production
```
yarn run build
```

For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
### Lints and fixes files
```
yarn run lint
```
5 changes: 5 additions & 0 deletions sample-app/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/app'
]
}
35 changes: 0 additions & 35 deletions sample-app/build/build.js

This file was deleted.

45 changes: 0 additions & 45 deletions sample-app/build/check-versions.js

This file was deleted.

9 changes: 0 additions & 9 deletions sample-app/build/dev-client.js

This file was deleted.

89 changes: 0 additions & 89 deletions sample-app/build/dev-server.js

This file was deleted.

71 changes: 0 additions & 71 deletions sample-app/build/utils.js

This file was deleted.

12 changes: 0 additions & 12 deletions sample-app/build/vue-loader.conf.js

This file was deleted.

Loading

0 comments on commit a264653

Please sign in to comment.