1.0.0-beta.4 • Published 10 months ago

@cpp.js/plugin-vite v1.0.0-beta.4

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@cpp.js/plugin-vite

Cpp.js Vite plugin
A tool for seamless C++ integration with the Vite.

Integration

To integrate cpp.js into your project using Vite, you can utilize the @cpp.js/plugin-vite plugin. Start by installing these package with the following command:

npm install @cpp.js/plugin-vite --save-dev

To enable the plugin, modify the vite.config.js file as shown below.

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
+ import viteCppjsPlugin from '@cpp.js/plugin-vite'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
+   viteCppjsPlugin(),
  ]
});
1.0.0-beta.4

10 months ago

1.0.0-beta.3

10 months ago