Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ktmouk/astro-vue2
Astro with Vue 2.x
https://github.com/ktmouk/astro-vue2
astro vue
Last synced: 2 months ago
JSON representation
Astro with Vue 2.x
- Host: GitHub
- URL: https://github.com/ktmouk/astro-vue2
- Owner: ktmouk
- License: mit
- Created: 2023-02-05T15:29:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-08T13:58:22.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T01:54:35.603Z (3 months ago)
- Topics: astro, vue
- Language: TypeScript
- Homepage: https://dev.to/ktmouk/use-astro-with-vue-2x-not-3x-is-it-possible-19m6
- Size: 55.7 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# astro-vue2
This is the proof of concept if Astro can integrate with Vue 2, not 3. I got curious about whether Astro can support Vue2 technically and I made it. It isn't meant for production use.
## How to run
It is easy to run this project, like below.
If you don't install the pnpm, please install it referring to [pnpm's installation](https://pnpm.io/installation) in advaince.```sh
# Run in dev mode.
pnpm install
pnpm dev# Or build and look at it in preview mode. it also works fine!
pnpm install
pnpm preview
```## Folder structure
This repository consists of two packages managed by the pnpm workspace.
### `/integration`
This is the library for Astro can integrate with Vue2.
I made it while referencing [Vue3 plugin](https://github.com/withastro/astro/tree/main/packages/integrations/vue/), which is offical integration.### `/astro`
This is the Astro project to test above plugin. It uses plugins at [astro.config.mjs](https://github.com/ktmouk/astro-vue2/blob/main/astro/astro.config.mjs).
## License
MIT