Open mark134340 opened 2 years ago
I'm testing things out, and to start current I updated the dependencies in package.json like so:
"dependencies": {
"@neutralinojs/neu": "9.3.0",
"vue": "3.2.33"
},
"devDependencies": {
"@vitejs/plugin-vue": "2.3.3",
"vite": "2.9.9"
}
and in neutralino.config.json
I changed to nightly builds
"cli": {
"binaryName": "neu-vite-yooneskh",
"resourcesPath": "/dist/",
"clientLibrary": "/resources/neutralino.js",
"binaryVersion": "nightly",
"clientVersion": "nightly"
application can be built and runs (yarn serve:neu
) but I can confirm hot reload doesn't seems to work.
also I get what it looks like a warning:
$ vite build && neu run
vite v2.9.9 building for production...
<script src="/resources/neutralino.js"> in "/index.html" can't be bundled without type="module" attribute
but when adding type module the action on the button in the demo no longer works.
any update would be much appreciated as I'm interested in making this work properly 👍
This feature seem to be added to Neutralino 3. I am migrating the project to v3 right now and it will hopefully be fixed.