@cloudtables/vue3
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@cloudtables/vue3", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -0,6 +1,9 @@ | ||
# CloudTables Vue 3 | ||
CloudTables Vue 3 is a vue component that adds a custom HTML tag `<CloudTables/>` to your Vue application. | ||
These tags replace the script tags that are used to import your cloud table in vanilla HTML. If you do not already have a cloud table to import see [CloudTables](https://cloudtables.com/) to create an account. | ||
CloudTables Vue 2 is a Vue component compiled to work with you Vue 2 application. It adds a custom HTML tag `<CloudTables/>` to your Vue application. | ||
[CloudTables](https://cloudtables.com/) is a no code / low code system which lets you create complex and dynamic database driven applications with ease. Hosted or self-hosted options are available so you can be up and running in moments. | ||
## Getting Started | ||
@@ -11,3 +14,3 @@ | ||
```sh | ||
npm install --save cloudtables-vue3 | ||
npm install --save @cloudtables/vue3 | ||
``` | ||
@@ -17,3 +20,3 @@ | ||
# Method 1: | ||
### Method 1: | ||
@@ -28,3 +31,3 @@ Globally scoped in your main.js file | ||
import CloudTables from "cloudtables-vue3"; | ||
import CloudTables from "@cloudtables/vue3"; | ||
app.use(CloudTables); | ||
@@ -35,3 +38,3 @@ | ||
# Method 2: | ||
### Method 2: | ||
@@ -46,3 +49,3 @@ Globally scoped in your main.js file | ||
import { component as CloudTables } from "cloudtables-vue3"; | ||
import { component as CloudTables } from "@cloudtables/vue3"; | ||
app.component("CloudTables", CloudTables); | ||
@@ -53,8 +56,8 @@ | ||
# Method 3: | ||
### Method 3: | ||
In you App.vue file | ||
Scoped in a component: | ||
```js | ||
import { component as CloudTables } from "cloudtables-vue3"; | ||
import { component as CloudTables } from "@cloudtables/vue3"; | ||
export default { | ||
@@ -68,6 +71,7 @@ name: "App", | ||
Once imported you can then use the custom CouldTables tag `<CloudTables/>` | ||
Here is an example tag | ||
## Use | ||
Once imported you can then use the custom CouldTables tag `<CloudTables/>`, for example: | ||
```html | ||
@@ -80,3 +84,3 @@ <CloudTables | ||
- `data-src` The custom url for your CloudTable. | ||
- `data-src` The custom url for your CloudTable from the _Embed_ page for your data set. | ||
- `data-apiKey` would be replaced by your API Key (see the _Security / API Keys_ section in your CloudTables application) | ||
@@ -83,0 +87,0 @@ - `data-token` server side generated secure access token that can be used instead of an `apiKey` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3672
84