vite-plugin-forvmsc
v1.0.6
Published
Use for vue-md-shiki-component to copy assets from node_modules
Downloads
6
Maintainers
Readme
Vite Plugin fro vue-md-shiki-components Copy Assets
Getting Started
Copy Assets:
npm install -D vite-plugin-forvmsc
Modify your vite.config.*
file:
import { copyPublicPlugin } from 'vite-plugin-forvmsc'
export default defineConfig(() => {
// ...
plugins: [
// ...
// add this line:
copyPublicPlugin()
],
// very important!
assetsInclude: ['**/*.wasm']
})
For more detailed usage instructions, please see the Example.
Contributing
Contributions are welcome! If you find a bug or have a feature request, please open an issue on GitHub. If you'd like to contribute code, please fork the repository and submit a pull request.
License
This component library is licensed under the MIT License.