Skip to content

zach-j-dev/nuxt-test-repo

Repository files navigation

Architect Logo

A dynamic microservices framework for building, connecting, and deploying cloud-native applications.


Nuxt.js TSX starter project

I love Nuxt and Vue for heavy web applications, but have recently grown to favor React in large part due to JSX. I wanted to setup a way for me to get the SSR support I love from Nuxt while writing templates using JSX, and found that can be done through a combination of first class support from Vue and some clever babel presents! The usage of JSX allows me to further benefit from Typescript and type checking inside my template logic to let me develop faster and make better use of my IDE.

I've put together this project to help myself and others setup new web application projects easily. Enjoy!

Screenshot

In this example, we've written a component spec (the architect.yml file) that defines a component to run a Nuxt based web application.

Learn more about the architect.yml file

Running locally

# Clone the repository and navigate to this directory
$ git clone https://github.com/architect-templates/nuxt.git
$ cd ./nuxt

# Deploy locally using the dev command
$ architect dev architect.yml

Once the deploy has completed, you can reach your new service by going to https://app.localhost.architect.sh/.

Deploying to the Cloud

Want to try deploying this to a cloud environment? Architect's got you covered there, too! It only takes a minute to sign up for a free account.

You can then deploy the application by running the command below. Note that “example-environment” is the free environment that is created with your Architect account.

# Deploy to Architect Cloud
$ architect deploy architect.yml -e example-environment

Larger projects

Want to see a larger project using this same boilerplate? Check out the following:

  • Architect Auth - A self-hosted user authentication and authorization server.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Generated from architect-templates/nuxt