Skip to content

Issue Running #3

@TrendyTim

Description

@TrendyTim

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 build

Then i got errors about rollup not existing so i run

npm install -g rollup
npm run build

Then i got errors about rollup-plugin-vue not existing so i run

npm install -g rollup-plugin-vue
npm run build

But 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions