-
Notifications
You must be signed in to change notification settings - Fork 0
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
2018/01/12 花生笔记 #1
Labels
Comments
关于打包问题[代花生发]index.js 下 build 的 assetsPublicPath: './', 原来设置成 ‘/’ 目的是为了 在服务器上使用 服务器地址 +/xx/index.html 但在本地打开 就成了 file://+/xx/index.html Emmmm 但是这个不是重点 这个页面可以手动打开 但是 配置的 js css 都用的绝对路径 引用根本找不到 这个时候 用 ‘./’ 相对路径 就可以找到 js css 等资源 |
关于大图片的引入[代花生发]暂时留着 后期解决 |
vue项目引入scss 教程构建好vue项目之后 添加 node-sass 和 sass-loader
然后项目文件中 hello.vue 的style中加入 lang="sass” <!--引入sass-->
<style lang="sass”></style>
<!--引入scss-->
<style lang="scss”></style>
其他不需要配置 脚手架已经预先配置好 sass 编译 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
笔记内容
The text was updated successfully, but these errors were encountered: