Skip to content

Kylyi/backstage-project-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting started


Configuration

You can find the configs in the config folder.


Components

Components currently live in a github submodule. To get them, run:

git submodule update --init --recursive --remote

Development

Please be aware that this project uses yarn as package manager. You can install it with npm install -g yarn. It is recommended to use Node.js version v20.10.0

yarn i
git submodule update --recursive --remote
yarn zenstack:generate
yarn dev

Changing environments

To change the environment, you can use the NUXT_PUBLIC_ENV environment variable. The default value is local.


Deployment

To use environment variables, create a .env file in the root of the FE project. You need to use the VITE_ prefix for the variables.

The variables are then used in the code as: import.meta.env.VITE_VARIABLE_NAME.

yarn i
yarn generate

This will generate a static version of the website in the .output/public folder. You can then deploy it to any static hosting service.

Note: The generation will throw a warning regarding ssr, you can ignore that.

WARN HTML content not prerendered because ssr: false was set. You can read more in https://nuxt.com/docs/getting-started/deployment#static-hosting.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published