diff --git a/content/api/hub/template_nuxt.md b/content/api/hub/template_nuxt.md new file mode 100644 index 000000000..e15b52447 --- /dev/null +++ b/content/api/hub/template_nuxt.md @@ -0,0 +1,35 @@ +title = "NuxtJS SSG Template" +template = "render_hub_content_body" +date = "2023-12-31T00:22:56Z" +content-type = "text/html" +tags = ["javascript", "Nuxt", "Vue"] + +[extra] +author = "VamshiReddy02" +type = "hub_document" +category = "Template" +language = "JS/TS" +created_at = "2024-01-01T00:22:56Z" +last_updated = "2024-01-01T00:22:56Z" +spin_version = ">v1.3" +summary = "A template to use NuxtJS with Spin" +url = "https://github.com/VamshiReddy02/spin-nuxt" +keywords = "vue, nuxt, js, javascript" + +--- + +This is a template for using [NuxtJS](https://nuxt.com/docs/getting-started/introduction) to create a static webpage. + +Install the template +```bash +$ spin templates install --upgrade --git https://github.com/VamshiReddy02/spin-nuxt +``` + +## Creating and Running +You can create a new Spin app with `spin new` or add to an existing Spin app with `spin add` + +```bash +$ spin new my-nuxt -t Nuxt +$ cd my-nuxt-app +$ spin build +``` \ No newline at end of file