Generate drafts of any topic on the fly.
- Useful tool to create drafts to initialize your blog, investigation, etc
- Prompt: generate a draft about the topic javascript language
Result: The JavaScript language is a high-level, interpreted, programming language. It is one of the most popular languages in use today, and is the main programming language used in web development. JavaScript is a prototype-based, multi-paradigm language that supports object-oriented, imperative, and functional programming styles It is a very versatile language, and is used for a wide range of applications, from simple web pages to complex web applications and games. JavaScript is also used in many non-web environments, such as for server-side development and in the creation of desktop and mobile applications. JavaScript is a relatively easy language to learn, and has a large community of developers. It is a very popular language, and is used by millions of developers around the world.
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:3000 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add , astro preview |
npm run astro --help |
Get help using the Astro CLI |