An open API service indexing awesome lists of open source software.

https://github.com/yisar/vemix

Simple Vue SSR framework
https://github.com/yisar/vemix

Last synced: 9 months ago
JSON representation

Simple Vue SSR framework

Awesome Lists containing this project

README

          

# venti

Simple Vue SSR framework.

### Run

```shell
yarn dev
```

### Usage

```vue

{{ msg }}

import { useLoaderData } from 'venti'
import { computed } from 'vue'

export function loader() {
return {
msg: 'Hello world!',
}
}

export default {
setup() {
const data = useLoaderData()
const msg = computed(() => data.value.msg)

return {
msg,
}
},
}

```