8000 Meta Language support in .vue files · Issue #46 · cerebral/webpackbin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 28, 2018. It is now read-only.

Meta Language support in .vue files #46

Open
TheJaredWilcurt opened this issue Sep 14, 2017 · 2 comments
Open

Meta Language support in .vue files #46

TheJaredWilcurt opened this issue Sep 14, 2017 · 2 comments

Comments

@TheJaredWilcurt
Copy link

https://vuejs.org/v2/guide/single-file-components.html

One feature of Vue is to allow for metalanguage support, such as:

  • Markdown, Pug, HAML
  • TypeScript, JSX, CoffeeScript
  • Sass, SCSS, Less, Stylus

Under Configure > Loaders > Vue there should be some options for these.

I should be able to just check the Sass box in the settings and then write this and have it work:

<style lang="sass">
h1
    background: #F00
    border: 2px solid #00F

.thing
    display: inline-block
    padding: 10px
    .stuff
        margin: 30px
</style>
@christianalfoni
Copy link
Member

Hi there and sorry for late response, paternity leave ;-)

What is problematic there is code highlighting, not sure if that will work. Let me see how it behaves, just doing some general refactoring coming out this weekend.

@TheJaredWilcurt
Copy link
Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0