pulizia eliminato riferimenti a htmx. integrato user menu utilizzando web_components
This commit is contained in:
parent
c14bceb60c
commit
2aa2fa38a4
|
|
@ -5,7 +5,7 @@ Progetto Vue 3 (Vite) per creare Web Components custom element.
|
||||||
## Quick start
|
## Quick start
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd quasar/web_components
|
cd web_components
|
||||||
npm i
|
npm i
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
@ -19,12 +19,13 @@ npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
Output in `dist/`:
|
Output in `dist/`:
|
||||||
- `trustcontact-web-components.es.js`
|
- `omnimed-web-components.es.js`
|
||||||
- `trustcontact-web-components.iife.js`
|
- `omnimed-web-components.iife.js`
|
||||||
|
|
||||||
## Uso nel browser
|
## Uso nel browser
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script type="module" src="/path/trustcontact-web-components.es.js"></script>
|
<link rel="stylesheet" href="/path/omnimed-web-components.css" />
|
||||||
|
<script type="module" src="/path/omnimed-web-components.es.js"></script>
|
||||||
<trustcontact-greeting name="Fabio"></trustcontact-greeting>
|
<trustcontact-greeting name="Fabio"></trustcontact-greeting>
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
/** @type {import('tailwindcss').Config} */
|
||||||
|
export default {
|
||||||
|
content: [
|
||||||
|
'./index.html',
|
||||||
|
'./src/**/*.{vue,js,ts,jsx,tsx}',
|
||||||
|
'../web/templates/**/*.html',
|
||||||
|
],
|
||||||
|
theme: {
|
||||||
|
extend: {},
|
||||||
|
},
|
||||||
|
plugins: [],
|
||||||
|
};
|
||||||
Loading…
Reference in New Issue