withastro / astro.new Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://astro.new
License: MIT License
Home Page: https://astro.new
License: MIT License
A Gitpod community member has contributed withastro/astro#2789 to /astro which now makes it possible to open an individual starter template in Gitpod, with pre-build instructions for installing our VS code extension, prettier, lint etc. ๐ฅณ
Just putting it out there that if that pans out, we can be adding buttons (more buttons!) to this page for our individual starters that lead directly into Gitpod.
I think a nice solution would be changing the markup from
<a href="/minimal?on=stackblitz" aria-label="Open in StackBlitz" class="astro-WTK4WGHX">
<img height="32" src="/open-in-stackblitz.svg" aria-hidden="true" class="astro-WTK4WGHX">
</a>
to
<a href="/minimal?on=stackblitz" class="astro-WTK4WGHX">
<img height="32" src="/open-in-stackblitz.svg" alt="" class="astro-WTK4WGHX">
Open in StackBlitz
</a>
It's better using semantic HTML without Aria whenever possible.
Steps to replicate:
Go to https://astro.new/
If you click on any button in fast-build
or portfolio-svelte
panels, you'll get an error message -
Unable to find fast-build! Supported templates are:
- blog-multiple-authors
- blog
- component
- docs
- env-vars
- framework-alpine
- framework-lit
- framework-multiple
- framework-preact
- framework-react
- framework-solid
- framework-svelte
- framework-vue
- minimal
- non-html-pages
- portfolio
- ssr
- starter
- subpath
- with-markdown-plugins
- with-markdown-shiki
- with-markdown
- with-nanostores
- with-tailwindcss
- with-vite-plugin-pwa
Any time I try to generate a new project, I get:
That error was created by clicking on one of the links in the README: astro.new/docs?on=stackblitz
But everything seems to be failing. Every link in the README, plus going to https://astro.new/ or https://astro.new/next/ and clicking on any of the "Open In" buttons produces then same error.
Browsers are Chromium Version 111.0.5563.64 or Firefox 110.0.
It would be a nice QOL enhancement to have a mechanism for users to directly copy a create astro
command for a given template as outlined in https://docs.astro.build/en/install-and-setup/
Just a heads up that I imagine this will be wanted at some point? (Redirects are working fine, so no worries at the moment!)
Also, I can't actually verify that all the new links are working, because I think I'm opening too many at once and confusing the platforms. :P
I don't know whether just updating snowpackjs to withastro in the utils/index.ts is the only change needed, and I can't test updating the actual site links myself because of the api authorization header token needed.
So, I know this isn't exactly helpful at this moment, but it's just a reminder to have on the radar for the future!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.