小编Mou*_*hub的帖子

从vue-cli应用程序中的node_modules导入js文件

我已经使用 npm 安装了这个: https: //github.com/hchstera/vue-charts

正在做npm install hchs-vue-charts

在我看来这是一个制作图表的包。

这是我的项目,我想在 Dashboard.vue 组件上使用 ChartJS

我只想知道如何使用Vue-cli 应用程序( https://github.com/vuejs/vue-clinode_modules )从Vuejs 中的单个组件导入此库,因为在他们的示例中,他们使用 Vue 实例来完成此操作。

谢谢

javascript node.js node-modules vuejs2 vue-cli

5
推荐指数
1
解决办法
2万
查看次数

Go REST Api中的角色和权限

我正在开发REST API,它是按照以下模式实现jwt的: Jwt模式

我有一个可以验证令牌的中间件,我的问题是我想要另一个在我的API中的某些路径上添加角色和权限

你们能给一些提示吗?我的项目在github上,您可以看到所有代码:存储库

谢谢

api rest go

4
推荐指数
1
解决办法
2593
查看次数

Something wrent wrong with the plugin API

I've installed Wordpress 5 and configured a virtual host for my local wordpress sites I need to install some plugins and when I try to install I get an error message : "Something went wrong with the plugin API." Does someone know what is provocating this error ?

Here is a screenshot of my file permissions in the wordpress install root folder 在此处输入图片说明

php wordpress

2
推荐指数
1
解决办法
5433
查看次数

标签 统计

api ×1

go ×1

javascript ×1

node-modules ×1

node.js ×1

php ×1

rest ×1

vue-cli ×1

vuejs2 ×1

wordpress ×1