While import it shows error
Could not find a declaration file for module 'vuesax'. my_project/node_modules/vuesax/dist/vuesax.common.js' implicitly has an 'any' type.
Try npm i --save-dev u/types/vuesax if it exists or add a new declaration (.d.ts) file containing declare module 'vuesax';
While import it shows error Could not find a declaration file for module 'vuesax'. my_project/node_modules/vuesax/dist/vuesax.common.js' implicitly has an 'any' type. Try npm i --save-dev u/types/vuesax if it exists or add a new declaration (.d.ts) file containing declare module 'vuesax';
the localhost:8080 shows nothing
my package.json is
{ "name": "vue3", "version": "0.1.0", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint" }, "dependencies": { "core-js": "^3.6.5", "vue": "^3.0.0", "vuesax": "^3.12.2" }, "devDependencies": { "@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-eslint": "~4.5.0", "@vue/cli-service": "~4.5.0", "@vue/compiler-sfc": "^3.0.0", "babel-eslint": "^10.1.0", "eslint": "^6.7.2", "eslint-plugin-vue": "^7.0.0" }, "eslintConfig": { "root": true, "env": { "node": true }, "extends": [ "plugin:vue/vue3-essential", "eslint:recommended" ], "parserOptions": { "parser": "babel-eslint" }, "rules": {} }, "browserslist": [ "> 1%", "last 2 versions", "not dead" ] }
and my main.js
_import { createApp } from 'vue' import App from './App.vue' import Vuesax from 'vuesax' import "vuesax/dist/vuesax.css";
createApp(App) .use(Vuesax) .mount('#app')_
Im new to vue js. please help to use that https://www.reddit.com/r/vuejs/comments/pt3lkd/vuesax_import_not_working/?utm_source=share&utm_medium=web2x&context=3