This repository has been archived by the owner on Mar 18, 2021. It is now read-only.
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.
Vue with TSX/JSX #15
Open
Description
Thanks for taking the time to create this! The documentation is well written and thorough.
I wanted to try Windi with Nuxt/Vue but did not get it working with .tsx files.
Adding this to nuxt.config.js:
extend(config) {
config.module.rules.push({
test: /\.tsx$/,
loader: 'vue-windicss-preprocess',
options: {
config: 'tailwind.config.js',
compile: false,
globalPreflight: true,
globalUtility: true,
prefix: 'w-',
},
})
},
Is JSX supported?
Versions
"vue-windicss-preprocess": "^2.0.0"