https://select2.github.io/examples.html select2 自動搜索帶select選擇
## 表單提交 https://github.com/marioizquierdo/jquery.serializeJSON 可以在標簽上直接寫就可達到后端想要的數據
## javascript工具庫 https://lodash.com/
http://lodashjs.com/docs/#_templatestring-options
## 時間處理工具庫 moment.js http://momentjs.com/docs/#/parsing/
http://www.layui.com/alone/ 分頁及時間插件
jQuery Form Validator http://formvalidator.net/ 校驗庫
http://ninghao.net/ 寧晧網,各種視頻課
http://vuefe.cn/guide/render-function.html#JSX vue.js 2.0 中文網
http://cn.vuejs.org/guide/index.html vue.js 1.0中文網
vue如何引入其它靜態文件:
(
src目錄下的資源只能import或require。
想靜態引入的話,建立一個與src同級的目錄例如static,然后把靜態資源放入該文件夾下,html的引入路徑如下:./static/...
注:試過一定要放在static文件夾下,否則報錯
)
vue如何引入sass
npm i sass --save-dev 裝下它
npm i sass-loader --save-dev 再裝下它
在webpack.base.config配置文件里加上這段
{
test: /\.scss$/,
loader: 'style!css!sass'
},
在組件文件.vue里直接引入scss樣式
<style lang="scss">
.hello input {
color: red;
}
</style>
vue報錯cannot GET
