This is a repository for V&N website development.
For website repository, please visit vn-website.
Caution
Package manager pnpm is required.
Use the following command to setup:
pnpm run setupModify configurations. And then start the development server:
pnpm run devIf everything goes ok, you can commit your changes.
Important
Before committing, you need to run this command to restore the website submodule.
pnpm run cleanThe following commands are available:
submodule- Get the submodule.submodule:update- Update the submodule to the latest commit.setup- If you want to do something (start the server, build, etc.) with the website, you need to run this command.
This will get the submodule and install the dependencies. It will runapplycommand automatically.apply- Apply your modifications to the website.clean- Clean your modifications to the website.
The following commands require running
setupcommand first:
start- Apply and start the development server.build- Apply and build the website.dev- Start the development server.check- Check the website.preview- Preview the website.
For build, default output directory is in website submodule. You can change it by following command:
pnpm run build --outDir <output-directory>If you change the website submodule directory, please modify .env file accordingly.
Copyright (c) V&N Team. All rights reserved.
Licensed under the MIT license.