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:
<!-- ... use components here ... -->
In a module system
Install the library with NPM:
npm install sensor-snap
Then import and locally register a single component with:
; components: 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