Skip to content

Commit

Permalink
Merge pull request #1098 from VamshiReddy02/docusaurus-spin
Browse files Browse the repository at this point in the history
Created docusaurus-spin template repository to Spin Up Hub
  • Loading branch information
Timothy McCallum authored Dec 18, 2023
2 parents 75c16a7 + 23a0397 commit 4ae2fa1
Showing 1 changed file with 23 additions and 0 deletions.
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.

0 comments on commit 4ae2fa1

Please sign in to comment.