Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qwiery/qwiery-vue-notebook
Literate programming component for Vue and Nuxt.
https://github.com/qwiery/qwiery-vue-notebook
literate-programming notebook nuxt vue
Last synced: about 2 months ago
JSON representation
Literate programming component for Vue and Nuxt.
- Host: GitHub
- URL: https://github.com/qwiery/qwiery-vue-notebook
- Owner: Qwiery
- License: mit
- Created: 2024-01-12T05:21:33.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-21T16:08:01.000Z (11 months ago)
- Last Synced: 2024-10-18T08:26:18.080Z (2 months ago)
- Topics: literate-programming, notebook, nuxt, vue
- Language: Vue
- Homepage: https://qwiery.com
- Size: 1.73 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vue/Nuxt Literate Programming Component
![](./ScreenshotWhite.png)
![](./ScreenshotDark.png)
This is a Vue/Nuxt component to render literate programming notebooks. It's part of the [Qwiery](https://qwiery.com) framework but you can use it independently.To set it up you need a Vue/Nuxt app and add the following dependencies:
```text
"@orbifold/vue-notebook":"latest",
"@orbifold/utils": "latest",
"@orbifold/entities": "latest",
"@orbifold/notebook": "latest",
"vue3-apexcharts": "^1.4.4",
"@headlessui/vue": "^1.7.16",
"@bhplugin/vue3-datatable": "^1.1.3"
```You also need to [set up Tailwind separately](https://tailwindcss.com/docs/guides/vite#vue).
With this in place you can use the component as follows:```vue
Notebook Integration
import "@orbifold/notebook/dist/style.css"
import {onMounted, ref} from "vue";const nbv = ref(null);
let nb;onMounted(() => {
nb = nbv.value;
nb.addCell();});
```
Note in particular that you need to import the CSS file.
If you clone the notebook repo you can also run a demo app (screenshot above) with the usual:
```bash
npm run dev
```## Feedback
This component is part of the [Qwiery](https://qwiery.com) framework to help jump-start your graph visualizations. It's neither bug-free nor complete and
if you find something isn't as expected you [can report it](https://github.com/Qwiery/qwiery-nuxt/issues) or contact us:- [ X](https://twitter.com/theorbifold)
- [Email](mailto:[email protected])
- [Orbifold Consulting](https://GraphsAndNetworks.com)## Consulting and Custom Development
You can use any of the links above to contact us with respect to custom development and beyond. We have more than 20 years experience with everything graphs.
## License
**MIT License**
_Copyright (c) 2024 Orbifold B.V._
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.```
```