-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何引入公共的样式或js? #38
Comments
下载 并配置 copy-webpack-plugin |
项目中,我都是建好一个文件目录,然后无限复制,这样就变相的引入公共样式... |
你是直接在page里面写了一个css文件夹l来进行引用? |
公共样式文件我是写在assets目录下,然后在app.js里引用 |
我现在遇到的问题就是 |
现在又遇到的问题 我只写了一个html vue js 文件 然后打包会Cannot read property 'call' of undefined |
如果在每个页面都引入一段相同的css 或js代码? 在每个页面 的app.js里面引入每次都要写一遍.
以及html里面如何引入静态文件? 目前html里面用link或者script标签方式引入都路径不对 ,vue-cli那样可以直接在index.html里面引入static目录下的文件.
The text was updated successfully, but these errors were encountered: