Vue Bulma
WIP
We are refactoring it, using the latest Vue and Bulma.Todo
- vue-next
- vue-bulma
- bulma v0.8
- modules
Sponsors
Currently, I am a freelancer and my income is not very stable. I very much hope to become a full-time open source developer. If you are interested in this project, I hope you can support it. Thank you so much!
npm run dev error
以下是报错信息,不知道怎么回事?求解
ERROR in ./~/[email protected]/src/index.js Module parse failed: G:\works\vue-admin\[email protected]\src\index.js Unexpected token (1:7) You may need an appropriate loader to handle this file type. | export BackToTop from './BackToTop' | export default from './Jump' | @ ./~/[email protected]/lib!./~/[email protected]/lib/selector.js?type=script&index=0!./client/views/components/BackToTop.vue 50:0-43 @ ./client/views/components/BackToTop.vue @ ./client/views async ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/router/index.js @ ./client/app.js @ ./client/index.js @ multi app
ERROR in ./~/[email protected]/src/index.js Module parse failed: G:\works\vue-admin\[email protected]\src\index.js Unexpected token (1:7) You may need an appropriate loader to handle this file type. | export filter from './filter' | | export EmojiIcon from './EmojiIcon' @ ./~/[email protected]/lib!./~/[email protected]/lib/selector.js?type=script&index=0!./client/views/components/Emoji.vue 52:0-52 @ ./client/views/components/Emoji.vue @ ./client/views async ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/router/index.js @ ./client/app.js @ ./client/index.js @ multi app
ERROR in ./~/[email protected]/src/index.js Module parse failed: G:\works\vue-admin\[email protected]\src\index.js Unexpected token (1:7) You may need an appropriate loader to handle this file type. | export StepItem from './StepItem' | export default from './Tracker' | @ ./~/[email protected]/lib!./~/[email protected]/lib/selector.js?type=script&index=0!./client/views/components/ProgressTracker.vue 76 :0-71 @ ./client/views/components/ProgressTracker.vue @ ./client/views async ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/router/index.js @ ./client/app.js @ ./client/index.js @ multi app
"Maximum call stack size exceeded" error when opening certain pages
Second issue posted in one day .. aren't I lucky :P
After cloning the git repom, running npm install to grab the node modules, I did a
npm run dev
to get the dev version open in my browser. However, when loading certain of the pages from the sidebar menu, it fails to load and any other link to a previous page that did previously load no longer works.The error in Chrome console is always the folowing:
The pages that this error repeatedly occurs for is:
I am runnng on Gnome Ubuntu 16.04. NPM version 4.0.5 and Node version 7.4.0.
If you need anymore info for clarification please feel free to ask.
npm run dev error again
` ✘ http://eslint.org/docs/rules/no-mixed-operators Unexpected mix of '*' and '+' F:\plugins\vue-admin-master\client\views\charts\Chartjs.vue:87:64 data_2: [1, 9, 3, 4, 5, 6, 7, 8, 2].map(e => Math.sin(e) * 25 + 25), ^
✘ http://eslint.org/docs/rules/no-mixed-operators Unexpected mix of '*' and '+' F:\plugins\vue-admin-master\client\views\charts\Chartjs.vue:87:69 data_2: [1, 9, 3, 4, 5, 6, 7, 8, 2].map(e => Math.sin(e) * 25 + 25), ^
✘ 2 problems (2 errors, 0 warnings)
Errors: 2 http://eslint.org/docs/rules/no-mixed-operators @ ./client/views async ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/store/index.js @ ./client/app.js @ ./client/index.js @ multi ./build/dev-client ./client/index.js
ERROR in ./~/[email protected]/src/index.js Module parse failed: F:\plugins\vue-admin-master\[email protected]\src\index.js Unexpected token (1:7) You may need an appropriate loader to handle this file type. | export BackToTop from './BackToTop' | export default from './Jump' | @ ./~/[email protected]/lib!./~/[email protected]/lib/selector.js?type=script&index=0!./client/views/components/BackToTop.vue 50:0-43 @ ./client/views/components/BackToTop.vue @ ./client/views async ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/store/index.js @ ./client/app.js @ ./client/index.js @ multi ./build/dev-client ./client/index.js
ERROR in ./~/[email protected]/src/index.js Module parse failed: F:\plugins\vue-admin-master\[email protected]\src\index.js Unexpected token (1:7) You may need an appropriate loader to handle this file type. | export filter from './filter' | | export EmojiIcon from './EmojiIcon' @ ./~/[email protected]/lib!./~/[email protected]/lib/selector.js?type=script&index=0!./client/views/components/Emoji.vue 52:0-52 @ ./client/views/components/Emoji.vue @ ./client/views async ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/store/index.js @ ./client/app.js @ ./client/index.js @ multi ./build/dev-client ./client/index.js
ERROR in ./~/[email protected]/src/index.js Module parse failed: F:\plugins\vue-admin-master\[email protected]\src\index.js Unexpected token (1:7) You may need an appropriate loader to handle this file type. | export StepItem from './StepItem' | export default from './Tracker' | @ ./~/[email protected]/lib!./~/[email protected]/lib/selector.js?type=script&index=0!./client/views/components/ProgressTracker.vue 76:0-71 @ ./client/views/components/ProgressTracker.vue @ ./client/views async ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/store/index.js @ ./client/app.js @ ./client/index.js @ multi ./build/dev-client ./client/index.js`
用cnpm i 然后就这样了 用yarn卡在1182/1183不动了 用npm -d卡在
npm info git [ 'checkout', 'de2ab007455aa2587c552694c68583f94c9f2747' ] npm info git [ 'submodule', '-q', 'update', '--init', '--recursive' ]
how to play the project...
[npm run dev] throw new WebpackOptionsValidationError
/private/var/www/apache/gospel/admin/node_modules/[email protected]/lib/webpack.js:16 throw new WebpackOptionsValidationError(webpackOptionsValidationErrors); ^ WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
npm ERR! Darwin 15.4.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev" npm ERR! node v4.2.2 npm ERR! npm v2.14.7 npm ERR! code ELIFECYCLE npm ERR! [email protected] dev:
node build/server.js
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] dev script 'node build/server.js'. npm ERR! This is most likely a problem with the vue-admin package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node build/server.js npm ERR! You can get their info via: npm ERR! npm owner ls vue-admin npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /private/var/www/apache/gospel/admin/npm-debug.log
Build Error
Error Observed
Expected Behavior
Build and run, launching browser.
Steps to reproduce
git clone https://github.com/vue-bulma/vue-admin.git --depth=1
npm install
npm run dev
Other Notes
Confirmed on Ubuntu 14.04LTS and Windows 10. Confirmed on Node v4.5.0 and v6.9.1
依赖包不能加载
我们做一个项时只有Linux可以正常运行,Mac报以下错误:
Any plans to update to bulma 0.3.0?
I saw that bulma 0.3.0 has been released recently.
They fixed a number of bugs in their changelog.
Are there any plans on moving to their newer version?
BTW, I tried vue-admin out with bulma 0.3.0 and there only the background needs to be fixed to look OK. And yes, the colors are a bit different. I guess they renamed a couple of sass-variables.
Cheers
Cannot launch npm run dev - object expansion fails in app.js with Unexpected token error
Error when I run npm run dev. Object expansion fails in app.js. It looks like an eslint of babel issue. Any help to fix? In VSCode, same code section in app.js raises an eslint exception: [js] Property exception expected. <>
const app = new Vue({
router,
store,
nprogress,
...App << eslint error here
})
<>
$ npm run dev
...
ERROR in ./client/app.js
Module parse failed: ...\vue-admin\client\app.js Unexpected token (35:2)
You may need an appropriate loader to handle this file type.
| store,
| nprogress,
| ...App
| })
|
@ ./client/index.js 1:0-27
@ multi app
Child html-webpack-plugin for "index.html":
Asset Size Chunks Chunk Names
index.html 1.46 MB 0
webpack: bundle is now VALID.
Font assets generated path and referenced path don't match
After running
npm run build
, the fonts are generated underpublic/assets/fonts
However, when the webpage is served, the server tries to serve fonts frompublic/assets/css/assets/fonts
Changing
frontend/build/webpack.base.conf.js
query.name for font files will result in a change in both paths. In other words, changing query.name fromutils.assetsPath('fonts/[name].[hash:7].[ext]')
toutils.assetsPath('css/[name].[hash:7].[ext]')
will result in fonts generated atpublic/assets/css/fonts
and referenced atpublic/assets/css/assets/css
, and does not solve the problem.This issue does not occur when using
npm run dev
[HELP] How to manipulate page name in the Levelbar
Hey,
right now, the Levelbar shows the route name. Is there a way to manipulate that? I have a
User
route with/user/:id
as path and would like to show the received username instead.npm hang - npm无法配置开发环境
您好,似乎您说中文?
我有个问题,不知道能否手工,即不通过npm和web pack来配置开发环境?因为我的npm无法穿墙,如下,停在这里:
我原来主要做桌面开发,刚刚开始接触web开发,请指教。谢谢。
编译错误:File to import not found or unreadable: ~bulma/sass/utilities/initial-variables.
如果你在编译过程中出现了这个问题,尝试重新安装bulma,或者下载https://raw.githubusercontent.com/jgthms/bulma/master/sass/utilities/initial-variables.sass 放到对应文件夹下面。
modal
当modal显示的状态下,点击浏览器back按钮,modal不会消失,之后modal的 关闭操作按钮也不再起作用了。 英文不好不太会写英文, when the modal is visual , click the back button of browser , the modal can't disapper .
and then the close button of modal can't work. can U help me?
Failed to compile.
ERROR in ./~/[email protected]@css-loader!./~/[email protected]@vue-loader/lib/style-compiler?{"id":"data-v-54abe700","scoped":false,"hasInlineConfig":true}!./~/[email protected]@sass-loader/lib/loader.js!./~/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./~/[email protected]@vue-bulma-tabs/src/Tabs.vue Module build failed: @import '~bulma/sass/utilities/initial-variables'; ^ File to import not found or unreadable: ~bulma/sass/utilities/initial-variables. in G:\IdeaProjects\vue-admin\[email protected]@vue-bulma-tabs\src\Tabs.vue (line 114, column 1) @ ./~/[email protected]@vue-style-loader!./~/[email protected]@css-loader!./~/[email protected]@vue-loader/lib/style-compiler?{"id":"data-v-54abe700","scoped":false,"hasInlineConfig":true}!./~/[email protected]@sass-loader/lib/loader.js!./~/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./~/[email protected]@vue-bulma-tabs/src/Tabs.vue 4:14-340 13:3-17:5 14:22-348 @ ./~/[email protected]@vue-bulma-tabs/src/Tabs.vue @ ./~/[email protected]@vue-bulma-tabs/src/index.js @ ./~/[email protected]@babel-loader/lib!./~/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./client/views/components/Tabs.vue @ ./client/views/components/Tabs.vue @ ./client/views lazy ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/store/index.js @ ./client/app.js @ ./client/index.js @ multi ./build/dev-client ./client/index.js