0.0.6 ā€¢ Published 1 year ago

simple-vite-layer v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

simple-vite-layer

Integrate the vue plugin of the vite community, a vite layer that looks like a framework

Integration

Playground

šŸ‘‰ starter StackBlitz

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.