- Run
npm i vue-chartjs - Run
npm i chart.js hchs-vue-charts - Create a file called chart.js and save it in the /plugins directory
- Give chart.js the following contents
import Vue from 'vue'
import { Line } from 'vue-chartjs'
| chcon -R -t httpd_sys_rw_content_t storage |
Note:
| #!/bin/zsh -i | |
| # if you're using ZSH, change the shebang above to "#!/bin/zsh -i" | |
| eval "$(rbenv init -)" | |
| if [ ${#} -ne 2 ]; then | |
| echo >&2 Usage: $(basename ${0}) old-version new-version | |
| exit 1 | |
| fi |
| def clean_for_action_based_url(url) | |
| CGI.unescape(url || ""). | |
| gsub(/\/+/, "/"). | |
| tr('^a-z_-/', "") | |
| end | |
| def clean_url(url) | |
| url = CGI.unescape(url || "") | |
| url = url.gsub(/\A((https?:)?\/+)*/, "").gsub(/\/+/, "/") | |
| url.split("/").map { |v| CGI.escape(v) }. |