simple-vite-layer
v0.0.6
Published
simple vite layer
Downloads
2
Readme
simple-vite-layer
Integrate the vue plugin of the vite community, a vite layer that looks like a framework
Integration
Playground
Usage
install
npm i vue simple-vite-layer vite-layers -D
configuration
// vite.config.ts
import { Layers } from "vite-layers";
export default Layers({
extends: ["simple-vite-layer"],
vite: {}, // Your vite configuration
});
// src/main.ts
import "uno.css";
// ... other content
ts
If you are using TS and there is tsconfig.node.json
, you need to add types
{
"compilerOptions": {
"types": ["vite"] // add vite
// ...other content
}
}
License
Made with markthree
Published under MIT License.