Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

import other modules #346

Closed
eaststrong opened this issue Jan 10, 2018 · 5 comments
Closed

import other modules #346

eaststrong opened this issue Jan 10, 2018 · 5 comments

Comments

@eaststrong
Copy link

Do you want to request a feature or report a bug?

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

If this is a feature request, what is the motivation or use case for changing the behavior?

Please mention other relevant information such as the browser version, Node.js version, Poi version and Operating System.

Can poi import other modules other than react or vue?
e.g.

import BootstrapVue from 'bootstrap-vue'

@egoist
Copy link
Owner

egoist commented Jan 10, 2018

sure have you tried?

@eaststrong
Copy link
Author

I failed. It can not import it.

@egoist
Copy link
Owner

egoist commented Jan 10, 2018

@eaststrong details? did you install it?

@eaststrong
Copy link
Author

Sorry, I forgot to install them.
I thought poi would install all the imports automatically. ^_^

@egoist
Copy link
Owner

egoist commented Jan 10, 2018

That's possible with https://github.com/webpack-contrib/npm-install-webpack-plugin but I'm afraid that it couldn't handle everything well, eg. yarn is not supported.

btw you don't need to ctrl+cto restart Poi after installing a new dependency, a rebuild will automatically be triggered.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants