Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

failing to import bootstrap.vue2#462

Unanswered
pts-danielmanley asked this question inQuestions
Discussion options

I'm getting this error when starting up my server:

ERROR in ./src/vueform.config.jsModule not found: Error: Can't resolve '@vueform/vueform/dist/bootstrap.vue2' in '/Users/daniel.manley/points/source/pie2/pie2-dashboard/src' @ ./src/vueform.config.js 2:0-61 6:9-18 @ ./src/main.js

I followed the instructions on creating the conf file:

import en from '@vueform/vueform/locales/en'import bootstrap from '@vueform/vueform/dist/bootstrap.vue2'import { defineConfig } from '@vueform/vueform'export default defineConfig({  theme: bootstrap,  locales: { en },  locale: 'en',})

What should I be doing to fix this?

You must be logged in to vote

Replies: 2 comments

Comment options

forgot to add that I have 1.12.20 installed and have confirmed that node_modules/@vueform/vueform/dist/bootstrap.vue2.mjs exists

You must be logged in to vote
0 replies
Comment options

Now sure what the issue is because it seems to do the import properly on my end. It is probably something in your environment. I'd try using.mjs extension or trying it with relative path, but it's strange that eg/locales/en works. No clue at this point, but if you create a reproduction eg. on StackBlitz or share a repo I can look into it.

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Questions
Labels
None yet
2 participants
@pts-danielmanley@adamberecz

[8]ページ先頭

©2009-2025 Movatter.jp