-
Notifications
You must be signed in to change notification settings - Fork 45
vue-play doesn't work with projects generated with vue-cli #68
Comments
I have the same problem... |
+1 |
See #44 for a related discussion. @sky790312 I haven't updated the article yet. Please see my updated directions here: https://gist.github.com/dweldon/b6ab44b4f53ffdfad3a77b3157f0833c |
I can run it! Thanks @dweldon ! |
@dweldon |
@sky790312 You can import your global styles from |
@dweldon You mean import stylus files into that index.js file? How do you do that? Following is my project structure. How do I use it? |
@sky790312 It's exactly what it sounds like. Webpack is magic. My import './base.styl';
import './forms.styl';
import './tooltips.styl'; If you want all of your styl files included you could add a file like: import ./buttons.styl
import ./fonts.styl
import ./global.styl
... If you only want |
@dweldon I can run 5000 port now, but I still face some problem as :
Is there something wrong with my webpack.play.config setting..? My global.stylus has:
|
@dweldon I also facing the problem with i18n, my components is combine with vue-18n...
but it still can't understand $t(xxx) in my component.. |
Steps:
vue init webpack play-test
(and donpm install
)npm install -D vue-play vue-play-cli
package.json
:"play": "vue-play start ./src/play --webpack-config ./build/webpack.dev.conf.js"
npm run play
You'll see a long error like:
The text was updated successfully, but these errors were encountered: