Created
October 24, 2020 12:16
-
-
Save TianyiShi2001/8f9c09208f13026af690fb93ea4a17e8 to your computer and use it in GitHub Desktop.
quasar-electron failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
quasar create foo # with default options + npm | |
cd foo | |
quasar mode add electron | |
npm i node-id3 | |
echo "import * as NodeID3 from 'node-id3' | |
export function logId3 (buffer) { | |
console.log(NodeID3.read(buffer)) | |
}" > src/utils.js | |
echo "<template> | |
<q-page class='flex flex-center'> | |
<img | |
alt='Quasar logo' | |
src='~assets/quasar-logo-full.svg' | |
> | |
</q-page> | |
</template> | |
<script> | |
import { logId3 } from '../utils' | |
export default { | |
name: 'PageIndex', | |
mounted () { | |
logId3([0, 0, 0, 0]) | |
} | |
} | |
</script>" > src/pages/Index.vue | |
quasar dev # this works | |
quasar dev -m electron # doesn't work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment