diff options
author | 2021-12-21 11:57:50 -0500 | |
---|---|---|
committer | 2021-12-21 11:57:50 -0500 | |
commit | 9aff6eee717abcea781410cb3dd22c47d26ecc37 (patch) | |
tree | ed92e9e83da87b89b1be1cc894061845f5623677 /examples/fast-build/src/components | |
parent | 83053bcae912edf860a553f1bae9b85e085b0fdb (diff) | |
download | astro-9aff6eee717abcea781410cb3dd22c47d26ecc37.tar.gz astro-9aff6eee717abcea781410cb3dd22c47d26ecc37.tar.zst astro-9aff6eee717abcea781410cb3dd22c47d26ecc37.zip |
Flagged static (performance optimized) build (#2168)
* Progress on build demo
* Go back to ESM
* Some more progress on the new build
* More progress here
* Add support for hot reload
* Almost done
* Remove debugging stuff
* chore(lint): Prettier fix
* Pass through the origin
* Do not use ssr mode
* Use the logger
* chore(lint): Prettier fix
* Update yarn lock
* Fix types
* Only build chunks that are astro pages
* Debugging windows
* Prevent compilation race condition
* Read the file if not found in the cache
* Give a better error message when we can't find a page
* chore(lint): Prettier fix
* Fix windows maybe
* chore(lint): Prettier fix
* Some more windows debugging
* chore(lint): Prettier fix
* Remove console logs
* More debugging
* chore(lint): Prettier fix
* More debugging info
* chore(lint): Prettier fix
* Remove logging again
* Try to prevent port conflicts
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'examples/fast-build/src/components')
-rw-r--r-- | examples/fast-build/src/components/Greeting.vue | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/fast-build/src/components/Greeting.vue b/examples/fast-build/src/components/Greeting.vue new file mode 100644 index 000000000..69fa4fbca --- /dev/null +++ b/examples/fast-build/src/components/Greeting.vue @@ -0,0 +1,20 @@ +<script> +export default { + data() { + return { + greeting: 'Hello World!', + }; + }, +}; +</script> + +<template> + <p class="greeting">{{ greeting }}</p> +</template> + +<style> +.greeting { + color: red; + font-weight: bold; +} +</style> |