Repository: zircleUI/smarthome-tutorial
Branch: master
Commit: 65ef72c79c29
Files: 24
Total size: 27.3 KB
Directory structure:
gitextract_xtipvzq_/
├── .browserslistrc
├── .eslintrc.js
├── .gitignore
├── .postcssrc.js
├── CHANGELOG.md
├── LICENSE
├── README.md
├── babel.config.js
├── package.json
├── public/
│ └── index.html
└── src/
├── App.vue
├── main.js
└── views/
├── device.vue
├── devices.vue
├── family.vue
├── home.vue
├── living.vue
├── logs.vue
├── rooms.vue
├── scenes.vue
├── search.vue
├── settings.vue
├── status.vue
└── tv.vue
================================================
FILE CONTENTS
================================================
================================================
FILE: .browserslistrc
================================================
> 1%
last 2 versions
not ie <= 8
================================================
FILE: .eslintrc.js
================================================
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}
================================================
FILE: .gitignore
================================================
.DS_Store
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*
================================================
FILE: .postcssrc.js
================================================
module.exports = {
plugins: {
autoprefixer: {}
}
}
================================================
FILE: CHANGELOG.md
================================================
# Change Log
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [0.1.6](https://github.com/zircleui/tutorial/compare/v0.1.5...v0.1.6) (2019-05-02)
## [0.1.5](https://github.com/zircleui/tutorial/compare/v0.1.4...v0.1.5) (2019-04-22)
## [0.1.4](https://github.com/zircleui/tutorial/compare/v0.1.3...v0.1.4) (2019-01-06)
## [0.1.3](https://github.com/zircleui/tutorial/compare/v0.1.2...v0.1.3) (2018-11-25)
### Bug Fixes
* 🐛 home name ([071b762](https://github.com/zircleui/tutorial/commit/071b762)), closes [#1](https://github.com/zircleui/tutorial/issues/1)
## [0.1.2](https://github.com/zircleui/tutorial/compare/v0.1.1...v0.1.2) (2018-11-19)
## 0.1.1 (2018-08-17)
================================================
FILE: LICENSE
================================================
The MIT License (MIT)
Copyright (c) 2018-present, Juan Martín Muda
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
================================================
FILE: README.md
================================================
# Zircle-ui: smart-home tutorial
> :wave: This app is powered by [**zircle-ui**](https://github.com/zircleUI/zircleUI) :rocket: and is part of [its official tutorial](https://zircleui.github.io/docs/tutorial/). You can play with a working demo on [**CodeSandbox**](https://codesandbox.io/s/23wlzq4l1r?view=preview)
## Project setup
```
git clone https://github.com/zircleUI/tutorial.git
```
After cloning the repository, execute:
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Lints and fixes files
```
npm run lint
```
================================================
FILE: babel.config.js
================================================
module.exports = {
presets: [
'@vue/app'
]
}
================================================
FILE: package.json
================================================
{
"name": "smart-home",
"version": "0.1.6",
"description": "Demo app for zircle-ui tutorial",
"author": "Juan Martín Muda ",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"keywords": [
"zircle",
"smart-home",
"tutorial",
"vue",
"javascript"
],
"dependencies": {
"leaflet": "^1.4.0",
"smoothie": "^1.35.0",
"vue": "^2.6.10",
"vue-router": "^3.0.6",
"zircle": "^1.2.5"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.6.0",
"@vue/cli-plugin-eslint": "^3.6.0",
"@vue/cli-service": "^3.6.0",
"@vue/eslint-config-standard": "^3.0.5",
"node-sass": "^4.12.0",
"sass-loader": "^7.0.1",
"vue-template-compiler": "^2.6.10"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zircleui/tutorial.git"
},
"bugs": {
"url": "https://github.com/zircleui/tutorial/issues"
},
"homepage": "https://github.com/zircleui/tutorial#readme",
"license": "MIT"
}
================================================
FILE: public/index.html
================================================
smart-home
================================================
FILE: src/App.vue
================================================
================================================
FILE: src/main.js
================================================
import Vue from 'vue'
import App from './App.vue'
import zircle from 'zircle'
import 'zircle/dist/zircle.css'
Vue.use(zircle)
Vue.config.productionTip = false
new Vue({
render: h => h(App)
}).$mount('#app')
================================================
FILE: src/views/device.vue
================================================
{{category}}
{{qty}}
================================================
FILE: src/views/devices.vue
================================================
{{props.qty}}
================================================
FILE: src/views/family.vue
================================================