@bakery-framework/plugin-vue
@bakery-framework/plugin-vue
Vue single-file components for Bakery.
bun add @bakery-framework/plugin-vue vue
vue and @vue/compiler-sfc are peer dependencies: installing vue brings
the compiler with it.
Usage
// server.config.ts
import { defineConfig } from '@bakery-framework/core'
import vuePlugin from '@bakery-framework/plugin-vue'
export default defineConfig({
root: 'src',
plugins: [vuePlugin()],
})
A .vue file under root then serves as a route, alongside .tsx pages.
Options are typed as VuePluginOptions.
License
MIT with the Commons Clause v1.0. See LICENSE.
Not an OSI-approved license. The Commons Clause removes the right to sell the software: meaning to charge for a product or service whose value derives substantially from it, hosting and support included. Everything else the MIT license grants is unchanged: use it, modify it, ship it inside your own product. If your organization only permits OSI-approved dependencies, this will not pass that check.
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 2.3.0 | Custom | |
| 2.2.2 | Custom | |
| 2.2.1 | Custom | |
| 2.2.0 | Custom | |
| 2.1.2 | Custom | |
| 2.1.1 | Custom | |
| 2.1.0 | Custom | |
| 2.0.4 | Custom | |
| 2.0.3 | Custom | |
| 2.0.2 | Custom | |
| 2.0.1 | Custom | |
| 2.0.0 | Custom | |
| 1.2.3 | Custom | |
| 1.2.2 | Custom | |
| 1.2.1 | Custom | |
| 1.2.0 | Custom | |
| 1.1.1 | Custom | |
| 1.1.0 | Custom | |
| 1.0.2 | Custom | |
| 1.0.0 | Custom |
Pre-releases (21)
| Version | Released | License |
|---|---|---|
| 2.0.0-rc.5 | Custom | |
| 2.0.0-rc.4 | Custom | |
| 2.0.0-rc.3 | Custom | |
| 2.0.0-rc.2 | Custom | |
| 2.0.0-rc.1 | Custom | |
| 2.0.0-alpha.17 | Custom | |
| 2.0.0-alpha.16 | Custom | |
| 2.0.0-alpha.15 | Custom | |
| 2.0.0-alpha.14 | Custom | |
| 2.0.0-alpha.13 | Custom | |
| 2.0.0-alpha.12 | Custom | |
| 2.0.0-alpha.11 | Custom | |
| 2.0.0-alpha.9 | Custom | |
| 2.0.0-alpha.8 | Custom | |
| 2.0.0-alpha.7 | Custom | |
| 2.0.0-alpha.6 | Custom | |
| 2.0.0-alpha.5 | Custom | |
| 2.0.0-alpha.4 | Custom | |
| 2.0.0-alpha.3 | Custom | |
| 2.0.0-alpha.2 | Custom | |
| 2.0.0-alpha.1 | Custom |