Warning
This package is discontinued. Please use the more useful and updated package for Astro called Naxer
A WIP web TS framework running using a vite-plugin.
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Nexu</title>
</head>
<body>
<p>Working!</p>
</body>
- Removal of
<!DOCTYPE html>
and the HTML tags (<html>
) - Custom Nexu-only Router
- Custom Components
Make a new project using the latest version of Nexu by running the Installation commands below and then either nexu new
or nexu create
in a terminal.
Warning
You will need to have the NPM global folder in PATH for global to work. Sometimes this is automatically done by NPM when installing.
- Globally:
- Install using
npm -g i @monitio/nexu
- Run
nexu
in a terminal.
- Install using
- Non-Globally:
- Run using
npx @monitio/nexu@latest
- This will ask if you want to install the Nexu CLI once so you will need to say
y
oryes
.
- Run using
Tip
There is no way of running tools like NPX does with Yarn so you will need to install globally.
Warning
You will need to have the Yarn global folder in PATH for global to work. Sometimes this is automatically done by Yarn when installing.
- Globally:
- Install using
yarn global add @monitio/nexu
- Run
nexu
in a terminal.
- Install using