Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/creative-connections/vue2-bdl2-sample-app
Vue 2 Sample project with Bodylight.js-Components.
https://github.com/creative-connections/vue2-bdl2-sample-app
Last synced: 10 days ago
JSON representation
Vue 2 Sample project with Bodylight.js-Components.
- Host: GitHub
- URL: https://github.com/creative-connections/vue2-bdl2-sample-app
- Owner: creative-connections
- License: mit
- Created: 2021-05-03T08:08:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-03T08:13:57.000Z (over 3 years ago)
- Last Synced: 2024-11-12T07:20:54.088Z (2 months ago)
- Language: Vue
- Homepage:
- Size: 259 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue2-bdl2
Sample project using Bodylight.js-Components as web components in Vue.js 2 application.
Includes these changes in:
1) `index.html`
```html
...
...
```
2) `main.js`
```javascript
...
Vue.config.ignoredElements = ['bdl-fmi','bdl-chartjs-time','bdl-range']
...
```
3) `About.vue`
```html
This is an about page
bodylight components:
Press buttons to start/stop/step/reset simulation:
Change the slider value. When released - it is sent to model and simulation is recalculated accordingly:
Show some variables in chart:
```
## Project setup
```
npm install
```### Compiles and hot-reloads for development
```
npm run serve
```### Compiles and minifies for production
```
npm run build
```### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).