Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vite for vue (with library support) for nx 13+ #64

Open
fxck opened this issue Mar 9, 2022 · 2 comments
Open

vite for vue (with library support) for nx 13+ #64

fxck opened this issue Mar 9, 2022 · 2 comments

Comments

@fxck
Copy link

fxck commented Mar 9, 2022

Hello there, I stumbled upon this repo after failing to get https://github.com/ZachJW34/nx-plus running (doesn't support nx 13 and seems to be using custom webpack to build the apps / libs, instead of utilising vite / vue cli to the fullest), are there any plans to support generating and building publishable Vue libraries?

@JakeGinnivan
Copy link
Contributor

Hey @fxck, I'm not too sure of the work required to do this, happy to take PRs

@fxck
Copy link
Author

fxck commented Apr 11, 2022

image

From my experiments all it takes to create a library is to change vite.config.ts, then the build commands are the same.

The output then looks like this —

image

I'm not sure what exactly would need to be done Nx wise.

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

No branches or pull requests

2 participants