-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Description
I'm fairly new to node and vue, im also hoping thi is the answers to my prayers.
i run
npm install -g vue-sfc-rollup
sfc-rollup-init
# fill in prompts
cd my-component
vue serve ./src/my-component.vue # Or other live-refresh coding
# Do dev stuff...
npm run buildThen i got errors about rollup not existing so i run
npm install -g rollup
npm run buildThen i got errors about rollup-plugin-vue not existing so i run
npm install -g rollup-plugin-vue
npm run buildBut i still get the following
rollup --config build/rollup.config.js --format umd --file dist/json2xls.umd.js
[!] Error: Cannot find module 'rollup-plugin-vue'
Error: Cannot find module 'rollup-plugin-vue'
Is there something obvious im missing here ?
I've spent countless hours stuffing around with webpack with no success, all i want is a vue turned into a js file i can use in a html file to use the vue component.
Metadata
Metadata
Assignees
Labels
No labels