Socket
Socket
Sign inDemoInstall

@astrojs/vue

Package Overview
Dependencies
Maintainers
4
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astrojs/vue - npm Package Compare versions

Comparing version 0.0.2-next.0 to 0.0.2

README.md

8

CHANGELOG.md
# @astrojs/vue
## 0.0.2
### Patch Changes
- [#2885](https://github.com/withastro/astro/pull/2885) [`6b004363`](https://github.com/withastro/astro/commit/6b004363f99f27e581d1e2d53a2ebff39d7afb8a) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add README across Astro built-in integrations
* [#2847](https://github.com/withastro/astro/pull/2847) [`3b621f7a`](https://github.com/withastro/astro/commit/3b621f7a613b45983b090794fa7c015f23ed6140) Thanks [@tony-sull](https://github.com/tony-sull)! - Adds keywords to the official integrations to support discoverability on Astro's Integrations site
## 0.0.2-next.0

@@ -4,0 +12,0 @@

8

package.json
{
"name": "@astrojs/vue",
"version": "0.0.2-next.0",
"version": "0.0.2",
"description": "Use Vue components within Astro",

@@ -32,3 +32,3 @@ "type": "module",

"devDependencies": {
"astro": "0.25.0-next.2",
"astro": "0.25.0",
"astro-scripts": "0.0.2",

@@ -45,4 +45,6 @@ "vue": "^3.2.31"

"build": "astro-scripts build \"src/**/*.ts\" && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"dev": "astro-scripts dev \"src/**/*.ts\""
}
},
"readme": "# @astrojs/vue 💚\n\nThis **[Astro integration][astro-integration]** enables server-side rendering and client-side hydration for your [Vue 3](https://vuejs.org/) components.\n\n## Installation\n\nThere are two ways to add integrations to your project. Let's try the most convenient option first!\n\n### (experimental) `astro add` command\n\nAstro includes a CLI tool for adding first party integrations: `astro add`. This command will:\n1. (Optionally) Install all necessary dependencies and peer dependencies\n2. (Also optionally) Update your `astro.config.*` file to apply this integration\n\nTo install `@astrojs/vue`, run the following from your project directory and follow the prompts:\n\n```sh\n# Using NPM\nnpx astro add vue\n# Using Yarn\nyarn astro add vue\n# Using PNPM\npnpx astro add vue\n```\n\nIf you run into any hiccups, [feel free to log an issue on our GitHub](https://github.com/withastro/astro/issues) and try the manual installation steps below.\n\n### Install dependencies manually\n\nFirst, install the `@astrojs/vue` integration like so:\n\n```\nnpm install @astrojs/vue\n```\n\nMost package managers will install associated peer dependencies as well. Still, if you see a \"Cannot find package 'vue'\" (or similar) warning when you start up Astro, you'll need to install Vue:\n\n```sh\nnpm install vue\n```\n\nNow, apply this integration to your `astro.config.*` file using the `integrations` property:\n\n__astro.config.mjs__\n\n```js\nimport vue from '@astrojs/vue';\n\nexport default {\n // ...\n integrations: [vue()],\n}\n```\n\n## Getting started\n\nTo use your first Vue component in Astro, head to our [UI framework documentation][astro-ui-frameworks]. You'll explore:\n- 📦 how framework components are loaded,\n- 💧 client-side hydration options, and\n- 🪆 opportunities to mix and nest frameworks together\n\nAlso check our [Astro Integration Documentation][astro-integration] for more on integrations.\n\n[astro-integration]: https://docs.astro.build/en/guides/integrations-guide/\n[astro-ui-frameworks]: https://docs.astro.build/en/core-concepts/framework-components/#using-framework-components\n"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc