Socket
Socket
Sign inDemoInstall

vue3-notion

Package Overview
Dependencies
7
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.4 to 0.1.5

dist/lib/composables.d.ts

1

dist/entry.d.ts

@@ -9,1 +9,2 @@ import { App } from "vue";

export * from "@/lib/types";
export * from "@/lib/composables";

5

dist/lib/api.d.ts

@@ -1,4 +0,3 @@

import { NotionBlockProps } from "@/lib/types";
declare const getPageTable: (pageId: string, apiUrl?: string) => Promise<NotionBlockProps>;
declare const getPageBlocks: (pageId: string, apiUrl?: string) => Promise<NotionBlockProps>;
declare const getPageTable: (pageId: string, apiUrl?: string) => Promise<any>;
declare const getPageBlocks: (pageId: string, apiUrl?: string) => Promise<any>;
export { getPageTable, getPageBlocks };
{
"name": "vue3-notion",
"version": "0.1.4",
"version": "0.1.5",
"description": "Vue 3 Unofficial Notion Renderer",

@@ -36,4 +36,3 @@ "repository": "github:zernonia/vue3-notion",

"vue": "^3.2.26",
"vue-router": "4",
"vue3-notion": "^0.1.3"
"vue-router": "4"
},

@@ -40,0 +39,0 @@ "devDependencies": {

@@ -55,2 +55,3 @@ <div align="center">

npm install vue3-notion
# yarn add vue3-notion
```

@@ -99,13 +100,12 @@

onMounted(async () => {
data.value = await getPageBlocks("8c1ab01960b049f6a282dda64a94afc7")
data.value = await getPageBlocks("4b2dc28a5df74034a943f8c8e639066a")
})
}
</script>
<template>
<NotionRenderer :blockMap="data" fullPage />
<NotionRenderer v-if="data" :blockMap="data" fullPage />
</template>
<style>
@import "vue3-notion/dist/styles.css"; /* optional Notion-like styles */
@import "vue3-notion/dist/style.css"; /* optional Notion-like styles */
</style>

@@ -158,7 +158,32 @@ ```

| Simple Tables | โœ… Yes | |
| Table Of Contents | โœ… Yes | |
| Databases | โ˜‘๏ธ Planned | |
| Table Of Contents | โ˜‘๏ธ Planned | |
Please, feel free to [open an issue](https://github.com/zernonia/vue3-notion/issues/new) if you notice any important blocks missing or anything wrong with existing blocks.
# ๐ŸŒŽ Local Development
## Prerequisites
Yarn
- ```sh
npm install --global yarn
```
## Development
1. Clone the repo
```sh
git clone https://github.com/zernonia/vue3-notion.git
```
2. Install NPM packages
```sh
yarn
```
3. Run Development instance
```sh
yarn dev
```
## Credits

@@ -165,0 +190,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc