You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project setup for a component library and I am having some issues getting the file structure to stay the same as it is in the lib folder when I have <script setup lang="ts">.
What I actually get is this and I don't know where index.vue_vue_type_script_setup_true_lang-Bvhkb65H.js is coming from. Also if I were to do the same thing in Vite with a React project, I would get the same file structure in dist as lib.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a project setup for a component library and I am having some issues getting the file structure to stay the same as it is in the
lib
folder when I have<script setup lang="ts">
.I have the following
tsconfig.json
files.tsconfig.json
tsconfig.lib.json
vite.config.ts
package.json
This is the folder structure that I have and I want this to end up in
/dist
after runningnpm run build
.What I actually get is this and I don't know where
index.vue_vue_type_script_setup_true_lang-Bvhkb65H.js
is coming from. Also if I were to do the same thing in Vite with a React project, I would get the same file structure indist
aslib
.What can be done so that the output in
/dist
isBeta Was this translation helpful? Give feedback.
All reactions