@czechitas/render
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

Czechitas render

npm install @czechitas/render

Usage

vite.config.js

import { czechitasRenderVitePlugin } from '@czechitas/render/plugin'
export default defineConfig({
	plugins: [czechitasRenderVitePlugin()],
})

main.jsx

import { App } from './components/App'
import { render } from '@czechitas/render'

const root = document.querySelector('#root')
const data = await fetch('https://example.com/data.json').then((response) =>
	response.json(),
)
root.innerHTML = render(<App data={data} />)

Package Sidebar

Install

npm i @czechitas/render

Weekly Downloads

1

Version

0.3.1

License

ISC

Unpacked Size

1.82 kB

Total Files

6

Last publish

Collaborators

  • filip.jirsak
  • onset
  • podlomar