Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created docusaurus-spin template repository to Spin Up Hub #1098

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions content/api/hub/template_docusaurus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
title = "Spin Docusaurus"
template = "render_hub_content_body"
date = "2023-12-14T04:30:32.000Z"
content-type = "text/html"
tags = ["javascript", "docusaurus", "react",]

[extra]
author = "VamshiReddy02"
type = "hub_document"
category = "Template"
language = "JS/TS"
created_at = "2023-12-14T04:30:32.000Z"
last_updated = "2023-12-14T04:30:32.000Z"
spin_version = ">v1.3"
summary = "A template to use docusaurus with Spin"
url = "https://github.com/VamshiReddy02/spin-docusaurus"
keywords = "react, docusaurus, javascript, typescript"

---

This is a template for building and statically exporting your Docusaurus application and running it on Fermyon Spin.

All you need to do is open the [spin-docusaurus](https://github.com/VamshiReddy02/spin-docusaurus) repository and install the template in your spin CLI. Once you've created your repository from the template, Run `npm install` and `npx start`, then start editing your application. Alternatively, you can run `spin build` and `spin up` to build and run your application.
Loading