Open philanderson888 opened 1 year ago
am going to try to install a new version of the libraries first, let's see what happens when I try that
let's see what happens!
OK so here is existing package.json
{
"name": "vue-app",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.11.2",
"bulma": "^0.8.0",
"core-js": "^3.3.2",
"vue": "^2.6.10",
"vue-class-component": "^7.0.2",
"vue-property-decorator": "^8.3.0",
"vue-router": "^3.1.3",
"vuex": "^3.1.1"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.0.0",
"@vue/cli-plugin-typescript": "^4.0.0",
"@vue/cli-service": "^4.0.0",
"typescript": "~3.5.3",
"vue-template-compiler": "^2.6.10"
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"browserslist": [
"> 1%",
"last 2 versions"
]
}
so I'm going to try to strip out
"dependencies": {
"@fortawesome/fontawesome-free": "^5.11.2",
"bulma": "^0.8.0",
"core-js": "^3.3.2",
"vue": "^2.6.10",
"vue-class-component": "^7.0.2",
"vue-property-decorator": "^8.3.0",
"vue-router": "^3.1.3",
"vuex": "^3.1.1"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.0.0",
"@vue/cli-plugin-typescript": "^4.0.0",
"@vue/cli-service": "^4.0.0",
"typescript": "~3.5.3",
"vue-template-compiler": "^2.6.10"
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
ok i have created a new project from scratch using
as of 2022 this is the recommended way to build vuejs projects
npm create vue@3
/*
choose 'yes' to all except adding JSX support
*/
cd vue-project
npm install
npm run lint
npm run dev
let's see if i can now add back in my libraries ...
so I have the new site up and running but it's nothing to do with the old site ... a completely new one... and their are issues with css jumping around so have to fix them first ...
Probably deploy a whole new site from scratch ... would be good for my learning anyway ...