sans-api
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

vite-plugin-sans-api

Convention over configuration for Ruby projects using Vite


Installation 💿

Normally you wouldn't need to install it manually, instead follow the instructions of vite_rails, vite_hanami, or vite_ruby, which will install this plugin for you.

Else:

npm i vite-plugin-sans-api # yarn add vite-plugin-sans-api

Usage 🚀

Add it to your plugins in vite.config.js

// vite.config.js
import Vue from '@vitejs/plugin-vue' // Example, could be using other plugins.
import ViteRuby from 'vite-plugin-sans-api'

export default {
  plugins: [
    Vue(),
    ViteRuby(),
  ],
};

You can now configure it using config/vite.json, check out the available configuration options for reference.

Thanks

License

The gem is available as open source under the terms of the MIT License.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    2

Package Sidebar

Install

npm i sans-api

Weekly Downloads

2

Version

0.0.0

License

MIT

Unpacked Size

7.39 kB

Total Files

5

Last publish

Collaborators

  • elmassimo