@cpp.js/plugin-vite

1.0.0-beta.4 • Public • Published

@cpp.js/plugin-vite

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

NPM version License Docs - React Native

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(),
  ]
});

Readme

Keywords

Package Sidebar

Install

npm i @cpp.js/plugin-vite

Weekly Downloads

3

Version

1.0.0-beta.4

License

MIT

Unpacked Size

4.83 kB

Total Files

4

Last publish

Collaborators

  • bugra9