Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .babelrc

This file was deleted.

9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

27 changes: 0 additions & 27 deletions .eslintrc.js

This file was deleted.

22 changes: 17 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +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*
test/unit/coverage
test/e2e/reports
selenium-debug.log

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

This file was deleted.

60 changes: 22 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,29 @@
# Moltin Vue Demo Store
# vue-demo-store

> A barebones [moltin](https://moltin.com/) demo store built with [Vue.js](https://vuejs.org/). View a [demo here](https://moltin.github.io/vue-demo-store/#/).

📚 [moltin.com](https://moltin.com)

This is a simple example of a Vue store using moltin. You can view products, add to cart and checkout. The store uses our [JS-SDK](https://github.com/moltin/js-sdk).

![Demo Image](https://raw.githubusercontent.com/moltin/vue-demo-store/master/screenshot.png)

## ⛽️ Usage

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e
## Project setup
```
yarn install
```

# run all tests
npm test
### Compiles and hot-reloads for development
```
yarn run serve
```

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).
### Compiles and minifies for production
```
yarn run build
```

## ❤️ Contributing
### Run your tests
```
yarn run test
```

We love community contributions. Here's a quick guide if you want to submit a pull request:
### Lints and fixes files
```
yarn run lint
```

1. Fork the repository
2. Add a tests if possible
3. Commit your changes (see note below)
4. Submit your PR with a brief description explaining your changes
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
5 changes: 5 additions & 0 deletions 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 build/build.js

This file was deleted.

48 changes: 0 additions & 48 deletions build/check-versions.js

This file was deleted.

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

This file was deleted.

91 changes: 0 additions & 91 deletions build/dev-server.js

This file was deleted.

Loading