Skip to content

Commit

Permalink
fix(nuxt): Adapt configuration for new nuxt major release
Browse files Browse the repository at this point in the history
  • Loading branch information
k911 committed Sep 21, 2018
1 parent 85a96e1 commit 363dc67
Show file tree
Hide file tree
Showing 4 changed files with 337 additions and 588 deletions.
2 changes: 1 addition & 1 deletion deploy/mydevil-post-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ yarn install
devil www restart knit-test-homepage.tk
mkdir public
cp -R src/static/* public
ln -s ../.nuxt/dist/ public/_nuxt
ln -s ../.nuxt/dist/client public/_nuxt
1 change: 0 additions & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ module.exports = {
'~/assets/scss/main.scss',
],
build: {
vendor: ['axios', 'lodash', 'qs', 'vue2-scrollbar'],
extend (config) {
const vueLoader = config.module.rules.find(rule => rule.loader === 'vue-loader')
vueLoader.options = Object.assign({}, vueLoader.options, {
Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homepage-nuxtjs",
"version": "0.4.1-dev",
"version": "0.5.0-dev",
"description": "KNIT Homepage - SPA, SSR, Nuxtjs",
"homepage": "http://knit.pk.edu.pl",
"author": {
Expand All @@ -21,17 +21,17 @@
"format-on-save": "watch \"npm run lint -- --fix\" -d -p \"/node_modules/\""
},
"dependencies": {
"@nuxtjs/axios": "^5.1.1",
"@nuxtjs/axios": "^5.3.2",
"@nuxtjs/google-analytics": "^2.0.2",
"bootstrap": "^4.1.1",
"bootstrap-vue": "^2.0.0-rc.2",
"detect-it": "^3.0.4",
"lodash": "^4.17.5",
"node-sass": "^4.7.2",
"bootstrap": "^4.1.3",
"bootstrap-vue": "^2.0.0-rc.11",
"detect-it": "^3.0.5",
"lodash": "^4.17.11",
"node-sass": "^4.9.3",
"normalize.css": "^8.0.0",
"nuxt": "^2.0.0",
"qs": "^6.5.1",
"sass-loader": "^7.0.0",
"qs": "^6.5.2",
"sass-loader": "^7.1.0",
"vue-config-manager": "^0.2.2",
"vue-markdown": "^2.2.4",
"vue-prevent-parent-scroll": "^1.0.5",
Expand All @@ -42,20 +42,20 @@
"babel-eslint": "^9.0.0",
"cz-conventional-changelog": "^2.1.0",
"dotenv": "^6.0.0",
"eslint": "^5.0.0",
"eslint": "^5.6.0",
"eslint-config-standard": "^12.0.0",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jest": "^21.15.0",
"eslint-loader": "^2.1.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.22.1",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^4.4.0",
"jest": "^23.3.0",
"stylelint": "^9.2.0",
"eslint-plugin-vue": "^4.7.1",
"jest": "^23.6.0",
"stylelint": "^9.5.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-processor-html": "^1.0.0",
"stylelint-webpack-plugin": "^0.10.4",
"stylelint-webpack-plugin": "^0.10.5",
"watch": "^1.0.2"
},
"config": {
Expand Down
Loading

0 comments on commit 363dc67

Please sign in to comment.