diff --git a/getting-started.md b/getting-started.md index 50435ed..635c0b3 100644 --- a/getting-started.md +++ b/getting-started.md @@ -2,4 +2,59 @@ ## Installation -### Requirements \ No newline at end of file +### NPM + +```bash +npm install @vue-stripe/vue-stripe +``` + +### Yarn + +```bash +yarn add @vue-stripe/vue-stripe +``` + + +### Composable Usage + +```vue + +``` + +### Component Usage + +```vue + + + +``` \ No newline at end of file diff --git a/index.md b/index.md index 164f978..30cf13f 100644 --- a/index.md +++ b/index.md @@ -11,11 +11,11 @@ hero: alt: Vue Stripe Logo actions: - theme: brand - text: Get Started - link: /getting-started - - theme: alt - text: Introduction + text: Let's Go! link: /introduction + - theme: alt + text: View on GitHub + link: https://github.com/vue-stripe features: - icon: 💰 diff --git a/package.json b/package.json index 231a14e..2a4206d 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "docs:preview": "vitepress preview" }, "devDependencies": { + "postcss": "^8.4.33", "vitepress": "^1.0.0-rc.39" } } diff --git a/postcss.config.mjs b/postcss.config.mjs new file mode 100644 index 0000000..fa947fd --- /dev/null +++ b/postcss.config.mjs @@ -0,0 +1,5 @@ +import { postcssIsolateStyles } from 'vitepress' + +export default { + plugins: [postcssIsolateStyles()] +} \ No newline at end of file