0.3.3 • Published 4 years ago

sensor-snap v0.3.3

Weekly downloads
120
License
-
Repository
-
Last release
4 years ago

Aloes - sensor-snap

Vue library to generate Sensors Widget with Open Mobile Alliance references as inputs.

Application based on :

Folder structure

  • /. --> Main application configuration, dependencies list, and launch scripts

  • /public --> contains icons, fonts ...

  • /src --> contains source code

  • /. --> VueJS main configuration and boot scripts
  • /components --> sensor components, mounted based on OMA objectId
  • /lib --> built files from external dependencies
  • /styles --> css modules built at SensorSnap mounting

Usage

Directly in the browser

Drop the library in with a <script> tag alongside Vue:

<div id="app">
	<!-- ... use components here ... -->
</div>

<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/sensor-snap"></script>
<script>
	new Vue({el: '#app'});
</script>

In a module system

Install the library with NPM:

npm install sensor-snap

Then import and locally register a single component with:

import SensorSnap from 'sensor-snap';

export default {
	components: {
		'sensor-snap': () => import('sensor-snap'),
	},
};

Project setup

npm install

Compiles and hot-reloads for development

npm run start:dev

Compiles and minifies for production

npm run lib:build

Generate documentation

npm run docs:dev

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.24

5 years ago

0.1.23

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.20

5 years ago

0.1.19

5 years ago

0.1.18

5 years ago

0.1.17

5 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.0

5 years ago