hello-world-vite-vue3-test
v0.0.8
Published
It's just a npm package for test by using Vite + Vue3 + Tailwind CSS.
Downloads
5
Readme
HelloWorld Vite Vue3 Test
It's just a npm package for test by using Vite + Vue3 + Tailwind CSS.
Setup (Vite)
- In
main.js
import HelloWorld from 'hello-world-vite-vue3-test'
...
...
const myApp = createApp(App)
myApp.use(HelloWorld)
myApp.mount('#app')
- In
tailwind.config.js
content: [
....
'./node_modules/hello-world-vite-vue3-test/**/*.{vue,js,ts,jsx,tsx}',
],
Usage
- In
your_page.vue
...
<hello-world-test />
...
Attributes
text
: 顯示的文字, default ='Hello World ?'
textClass
: 文字的 class, default ='text-3xl font-bold underline'