Add Astro.generator (#4012)

* feat: add generator property and component

* chore: remove `Generator` component

* chore: update generator description

* chore: include generator in examples

* chore: update lockfile

* chore: format

* fix: do not reference core from server runtime

* chore: remove component test

Co-authored-by: Nate Moore <nate@astro.build>
This commit is contained in:
Nate Moore
2022-08-08 12:34:05 -05:00
committed by GitHub
parent 2c710e4edb
commit f207c417e0
26 changed files with 101 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import Counter from '../components/Counter.vue';
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<style>
html,