0.2.6 • Published 8 months ago
@winglibs/vite v0.2.6
vite
@winglibs/vite
allows using a Vite project with Wing.
Prerequisites
Installation
npm i @winglibs/vite
Usage
bring cloud;
bring vite;
let api = new cloud.Api();
let website = new vite.Vite(
// The path to the website root.
root: "../website",
// Environment variables passed to the Vite project.
// They'll available through the global `wing` object.
publicEnv: {
API_URL: api.url,
},
);
// Get the URL of the website.
let url = website.url;
License
This library is licensed under the MIT License.
0.2.6
8 months ago
0.2.5
12 months ago
0.2.4
12 months ago
0.2.3
1 year ago
0.2.2
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago
0.1.7
1 year ago
0.1.6
1 year ago
0.1.5
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago
0.0.5
1 year ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago