To see the complete readme contents use the outline icon ☰ on the top right .
git clone https://github.com/itu-fe/test-nuxt3-app.git
docker load -i test-nuxt3-app.tar
docker run -p 3000:3000 test-nuxt3-app
Open test-nuxt3-app in browser (localhost:3000)
- app.vue
- SineWaveView.vue (/components)
- settings.js
- useSineStore.js (/stores)
- storeSettings.js
- @ vue3-apexcharts
- @ pinia
- /api/sine-wave.js
- SineWaveView.vue (/components)
This endpoint retrieves JSON data for 100 datapoints of a sine wave function.
None
{
"data": [
{ "x": 0, "y": -0.8937377757650987 },
{ "x": 1, "y": -0.9340570596790904 },
{ "x": 2, "y": -0.9650435542109823 }
]
}
SineWaveSettings = {
refreshInterval : 500 // request interval, ms
,display : 'refresh' // (refresh | any) dynamic or static graph display
,chart : { /* ... */ } // ApexChart options, see link below [1]
}
[1] - ApexChart options
storeSettings = {
'sineStore' : { // Sine wave storage settings
'maxStoredDatasets' : 5 // Maximum number of stored datasets
}
};
0 items
Manuals | URL |
---|---|
ApexCharts | https://apexcharts.com/docs/ |
NUXT | https://nuxt.com/docs/ |
TailWindCSS | https://tailwindcss.com/docs/font-size |
Pinia | https://pinia.vuejs.org/ |